whitenoise Posted April 7, 2006 Posted April 7, 2006 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 Quote
Administrators PlausiblyDamp Posted April 7, 2006 Administrators Posted April 7, 2006 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.