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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.