Solved

How can I bind a socket

Posted on 2002-05-12
2
460 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now