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 ,...
Type: Posts; User: Zachary Lewis
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 ,...
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...
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...