K
Keith Langer
I have a TCPListener which needs to listen on my LAN IP as well as the
loopback address. In VS.Net 2002 the TCPListener constructor could
accept the port as an argument and it automatically bound to all
network adapters (this is also how it worked with VB6). Now that
constructor is obsolete, and the new one requires an IPEndPoint or
IPAddress.
How could I listen on the same port on all network adapters using
VS.Net 2003? I'd rather not use DNS.
thanks,
Keith
loopback address. In VS.Net 2002 the TCPListener constructor could
accept the port as an argument and it automatically bound to all
network adapters (this is also how it worked with VB6). Now that
constructor is obsolete, and the new one requires an IPEndPoint or
IPAddress.
How could I listen on the same port on all network adapters using
VS.Net 2003? I'd rather not use DNS.
thanks,
Keith