Socket programming in c

hi, i m new to socket programming in C so can anyone tell me what is socket programming and tell me something about the following problem;

Wrap a Packet in IP and send it to a specific IP after creating a TCP connection.

plz tell me what does it mean and a little help in how to do it.
Hi, i recently done the same/ related assignment and i found these links helpful,

http://www.linuxhowtos.org/C_C++/socket.htm
http://beej.us/guide/bgnet/
Topic archived. No new replies allowed.