Windows Client Vs Unix Server?

i have written a TCP client server application in c under unix. The windows systems should also be alowed to connect to the TCP server running on linux.So i wrote a small client application in VB using winsock. The client and server works fine in the linux environment. When i tried to connect the windows client porgram to the linux tcp server, the win client is not able to catch the full response sent. It receives only a part of the response. Even the no of bytes recieved is also less than what i have sent. Why is that its not working when i go for different platforms. Even i tried it with java. The java client written in windows also does not get the full response.

Is there any format for termination character that has to be set explicitly when i send or receive data? I am literally disappointed. Please help me in this problem.

Thanks in advance
collins