multiple network cards

whitenoise

Newcomer
Joined
Apr 7, 2006
Messages
1
Hi, i wrote a windows services that permit communications between windows applications. Is everything OK when I use it on a machine with only one NIC.

In some special case I need to use it on a machine with two or more NIc of different subnets. In this case the service starts and works normally for a little, then all my task report that the connections have been closed and they can't establish a new connection.


I use TcpSocket and TcpListener on a Windows2003 Server machine with Framework 2.0 installed.

Can you help me?


thanks
 
Both the TcpListener and TcpSocket classes have overloaded constructors that allow you to specify which IP / Port they listen on, this way you can choose just one endpoint bound to a single NIC.
 
Back
Top