Ok, I have connected to an IP address using the following code:
IPAddress myIpAddress = IPAddress.Parse("10.10.15.200");
IPEndPoint ip = new IPEndPoint(myIpAddress, 5001);
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.Connect(ip);
I now want to listen to the socket. When I type socket.Listen, intellisense says I need to enter a backlog number, what does this mean?
Also, once I am listening to the socket, how do I capture the content of what I am 'listening' to.
Thanks
John