Search:

Type: Posts; User: Zachary Lewis

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,418

    Here is the majority of the reading and sending...

    Here is the majority of the reading and sending from the client side. Again, the server only gets four letters of the destination file.


    //CLIENT
    // Get the file size
    fseek (fpRead , 0 ,...
  2. Replies
    7
    Views
    2,418

    How can I determine the size of the buffer? (I...

    How can I determine the size of the buffer?

    (I apologize, I haven't written C for the longest.)

    Edited to include: In the client/server I have written, it will only copy the first four...
  3. Replies
    7
    Views
    2,418

    Problems with malloc

    I want to allocate room in a buffer so I can send data through a socket (I've got to write a simple FTP program for class); however, every time I call malloc, it only allocates 4 bytes. I wrote some...
Results 1 to 3 of 3