Hi all! How should I send bits r bytes to/from a server to/from client

vijraj's Avatar, Join Date: Mar 2007
Newbie Member
Hi all!

1)How should I send bits or bytes to/from a server from/to a client in c language.

2)How should I make a connection on a socket from client to server?What is this Port id.
Is it already present or is it a number that we decide on.Please clarify my doubts.Thanks in advance.

vijraj.
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Read the RFCs on the http protocol and Beej's material on sockets.
vijraj's Avatar, Join Date: Mar 2007
Newbie Member
Thank you.