Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted (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 by joe_pool_is

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...