Sending and reading big data by socket

Discussion in 'C Programming' started by cyril, Aug 27, 2003.

  1. cyril

    cyril Guest

    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:) )
     
    cyril, Aug 27, 2003
    #1
    1. Advertising

  2. (cyril) wrote in
    news::

    > 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.

    --
    - Mark ->
    --
     
    Mark A. Odell, Aug 27, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    7
    Views:
    950
  2. Shaguf
    Replies:
    0
    Views:
    560
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    507
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    277
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    257
    Shaguf
    Dec 24, 2008
Loading...

Share This Page