Solved

How can I bind a socket

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 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