I’m having trouble understanding some basic TCP/IP stuff.
I need to write a test app (client) that sends a message over TCP/IP to a server. The problem is I’m not writing the server, I have been given the message spec and IP address etc.
For testing purposes I would like to set up a test pc to be the server with configured IP address etc and see the message in wireshark on the server.
This this even possible?
I’m using c# and most examples tell me I need a server app set up at the other end. Doesn't the underlying protocol handle and accept the connection?
I'm using the TcpClient example code found at
https://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient(v=vs.110).aspx
Many Thanks