send() and recv() functions
I have written a simple program to transfer a file from my comp to a remote pc using send() and recv() procedures...But, I am facing problems while trying to send big files ( appproximately the number of chars is more than 1500)..The char count at the sending end is the actual number that I am interested in,( I am measuring the char count after the send call), the entire file is not being received..Can anyone tell me if :
1> there is an inbuilt restriction on the size of files being transfered
2> if any,how to counter this problem
3> else, where can things be going wrong..
reply to the prev message
I am not using the datagram technique..Only in datagram, each packet is allowed to take a different path( As far as my knowledge goes) .So, in my scheme of things, all the packets must arrive in order..ok,tailking about packets, any idea how large thay may be?? As I said, I cant transfer files having more than 2000 chars in one go..