Re: tcp/ip problem
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 04/16/04
- Next message: Florian Zschocke: "Re: Multi instances, threads, tasks and sockets question."
- Previous message: Andrei Voropaev: "Re: Multi instances, threads, tasks and sockets question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Apr 2004 07:39:42 GMT
On 2004-04-15, Alan Evans <alan.evans@unn.ac.uk> wrote:
> jongoon <jongoon@hanmail.net> wrote in message news:<c3mcoh$t2v$4@news1.kornet.net>...
>> Hello,
>>
>> I have a problem about server/client program using TCP/IP.
>>
>> The server runs on linux and the client runs on windows.
>>
>> If the client request data to server, then server sending data to client.
>>
>> but sometimes server sending data but client do not receive any data.
>>
>> If client do not treat the data, server stops sending data because of
>> tcp buffer size.
>>
>> but server never stop sending data and client do not receive any data..
>>
>> Has anyone seen this problem.
>> Thank you
>
>
> Network Byte Order?? I had that problem when sending data over a
> network with mixed OS'
Very unlikely. The problem must be in the code of client and server.
Most likely client discards all the data it reads or server does not
send anything. Run tcpdump on server to see if the data is actually
sent. If yes, then run debugger on client and see what it does with the
data. Otherwise run debugger on server and see why it does not send
anything :)
Andrei
- Next message: Florian Zschocke: "Re: Multi instances, threads, tasks and sockets question."
- Previous message: Andrei Voropaev: "Re: Multi instances, threads, tasks and sockets question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|