-
Server receive and echo
I need the server to listen to a client, take what the client types and echo it to that client. I will be using a character sent by the client to terminate the conversation. I am using C with the following: unix/linux/freeBSD. I would appreciate any help in this effort.
Thanks
-
What exact help are you expecting from us? You probably need to get some tutorials on Network Programming, a topic which has many times been discussed before here. Just searhc through the boards, you'll find some real useful tips here.
-
There is a standard TCP socket which already performs this function on port (socket number) 7, so you may just need to write the client...