MadMaxMSCN Posted October 19, 2009 Posted October 19, 2009 I want to write a small app, that informs me about incoming network connections. Unfortunately I do not know how get that information. Which class can I use? Are there any events? All examples I found on the web were client/server stuff. But I don't have any clients. I want to get notified about all incoming connections at all ports. Thanks for any hints or help, Max Quote
joe_pool_is Posted October 27, 2009 Posted October 27, 2009 (edited) My guess is a quick read on TcpListener.AcceptTcpClient() will point you where you want to go. Microsoft has plenty on this here: (VS2005) http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.accepttcpclient(VS.80).aspx Google will give you other examples and tutorials. Once you have a specific question, come on back and ask! :) Edited October 27, 2009 by joe_pool_is Quote Avoid Sears Home Improvement
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.