Click to See Complete Forum and Search --> : Binding a socket win XP


aprier
June 1st, 2004, 04:01 AM
Hi @ ALL,

Here's my big problem :
I have an a application that is runing in a network using udp and tcp. When there is no network avaible, i have an interface simulator to run this application.
Under Windows NT i never had a problem when the network was unplugged the application run with the simulator.
Now under Windows XP, the simulator doesn't run when the network is unplugged, that's bad to run on a laptop, the Bind function generates an error when trying to bind the socket.
The loopback is well installed.
What's to do with XP to get this work ?
Thanks in advance for every Help !!!

Best regards

A. Prier

Andreas Masur
June 1st, 2004, 04:13 AM
[Moved thread]

VipulPathak
June 1st, 2004, 04:52 AM
Originally posted by aprier

The Bind function generates an error when trying to bind the socket.
The loopback is well installed.


Are you trying to Bind on 127.0.0.1 when the Network is not available ?

aprier
June 1st, 2004, 04:57 AM
@ VipulPathak,

no, i don't bind it on 127.0.0.1 when the network is not avaible.
The application and the simulator both use the same IP.
It worked perfect under win NT....