Sending and reading big data by socket

C

cyril

Hi there,

I wonder how to send and receive big data (by chunk) with an unknown
size in an opened socket in C.

For example, my server can send to my client a big binary file. My
client didn't know the size of the file, so how can I check the end of
the file. Is there a way for my client to know if the connexion was
properly close.

Does anyone have a snippet code for sending and receiving huge amount
of data by sockets ? I can't find some.

Thanks for all, (I keep searching :eek:) )
 
M

Mark A. Odell

(e-mail address removed) (cyril) wrote in

I wonder how to send and receive big data (by chunk) with an unknown
size in an opened socket in C.

There are no sockets in C. You need to find a network programming
newsgroup. Please read the C-FAQ before posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top