🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #383

Re: TClientSocket handling a bad connection

#383
From: Mike Ruskai
Date: Tue, 01 Apr 2008 19:24
17 lines
1598 bytes
On or about Mon, 31 Mar 2008 18:34:12 -0400 did "Lesley Anne" <mspfila (dash)
brl (at) yahoo (dot) com> dribble thusly:

>(BCB6)
>I have two apps, one using TClientSocket, one using TServerSocket, both in 
>non-blocking mode.  Across a LAN, it works.  Across a WAN, it sometimes 
>works, but we get the following failure about once each day:
[snip]

Do yourself a big favor and go download a copy of Ethereal.  Capture your
network traffice, so you can see exactly what's happening with the socket.

Look for the outbound SYN and inbound ACK to establish that a connection was
made, and then outbound data and inbound ACK for the data transmission.

That will show pretty definitively if you should bother looking for a network
fault.
Technical Details
Message-ID: <ap25v3932jdgfjtbf94gn1oeto7665k86j@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <47f16766$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,74b475fd14f26423
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mike Ruskai <BUTthannydI@DONTearthlinkLIKE.netSPAM>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TClientSocket handling a bad connection
Date: Tue, 01 Apr 2008 15:24:24 -0400
Message-ID: <ap25v3932jdgfjtbf94gn1oeto7665k86j@4ax.com>
References: <47f16766$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.41.245.155
X-Trace: newsgroups.borland.com 1207077734 65.41.245.155 (1 Apr 2008 12:22:14 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail