Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capture data ona port??

Status
Not open for further replies.

kurgan383

IS-IT--Management
Jan 7, 2003
17
US
hello all... I want to set up a program to listen for data coming in on a port and write that data to a file, but I don't even know where to start (I'm a newbie!) Can any one point me in the right direction?
 
I'm trying to do something similar at the moment. I can get the port on the server to listen and respond when the client makes a request. Unfortunately, it seems to be truncating the data sent back. I just mention this in case anyone else can help me;-). To answer your question, look up the System.Net.Sockets namespace. Also, here is a good URL with a very straightforward example. Durkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top