Solved

How can I bind a socket

Posted on 2002-05-12
2
470 Views
Last Modified: 2013-12-03
Hello all,

How can I bind a socket to a particular IP address and port which is already binded by another socket?

My program is binding to POP port 110 and loopback address 127.0.0.1. It acts as a POP server. If exchange server is installed in the system, then the particular port and IP address is already binded so my program fails. Is there any alternative methods ?

Thank you,

Nagaraj
0
Comment
Question by:Nagarajhr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:MDarling
ID: 7005505
Is it necessary to have exchange server running?

Can you not stop exchange server?

You can't have 2 servers bound to the same port.

Regards,
Mike.
0
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 100 total points
ID: 7005531
another application, service, or kernel mode driver is bound to the same address with exclusive access. Such exclusive access is a new feature of Windows NT 4 SP4 and later, and is implemented by using the SO_EXCLUSIVEADDRUSE option

So its not possible when running Exchg Svr in ur machine

Roshmon
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question