Can you please tell me how to write a simple Tcp-Socket programming using C.
lets suppose i have to communicate to xx.xx.xx.xx:5000.
--i as a client should send a packet to the server .
--packet-> is a structure with some data.
--server should respond with the acknowledgment...