[twsocket] Getting Local IP Address of a socket

2011-11-30 Thread Azrin Aris
Hi, I tried to read WsocktServer1->LocalAddr but the value is 0.0.0.0; Is there a way (using ICS) to get what ip does a socket bind to? Thank you Sincerely Azrin -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/tws

Re: [twsocket] Getting Local IP Address of a socket

2011-11-30 Thread Francois PIETTE
I tried to read WsocktServer1->LocalAddr but the value is 0.0.0.0; Is there a way (using ICS) to get what ip does a socket bind to? A server socket is either bound to ALL IP addresses or to a single one. When bound to a single IP, you - as the programmer - select which one by setting the Addr

Re: [twsocket] Getting Local IP Address of a socket

2011-11-30 Thread Azrin Aris
On Dec 1, 2011, at 3:52 AM, Francois PIETTE wrote: >> I tried to read WsocktServer1->LocalAddr but the value is 0.0.0.0; Is there >> a way (using ICS) to get what ip does a socket bind to? > > A server socket is either bound to ALL IP addresses or to a single one. > When bound to a single IP, y