Re: tcp/ip problem

From: Andrei Voropaev (avorop_at_mail.ru)
Date: 04/16/04


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



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: SQL2k debugging broken/problem
    ... Firewall existing between the client and the server. ... Turn off any firewall installed on the client computer and the server. ... "Troubleshooting the Transact-SQL Debugger" topic in BOL to allow remote ...
    (microsoft.public.sqlserver.tools)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)