Original Post
i have client program that automatically exchanges files with server. the problem is that the client somehow sends packets with ZERO length. in the code that is supposed. it happens both in loopback(127.0.0.1) and in remote connection mode. have that happened to you and have you got any suggestions? what i do is just send()ing some strings and file parts to the dest. all they are not '0' long. the problem appears after the transfer. some how the last packet is recv()ed twice...