Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending and receiving files with socket.

Status
Not open for further replies.

mattias1975

Programmer
Jul 26, 2004
36
SE
Hello!

Does anyone know how to send and receive files with sockets?
Which functions do i use?
A small examplecode or a link to some examplecode would also be nice.

Thank you very much.

 
You can send and receive files with "send" and "recv" just read in the data from a file, send a packet with part of the data, then send another portion, until all parts are transmitted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top