🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8173

Re: Client-Server with on a LAN

#8173
From: Hans-Jochen Trost
Date: Sat, 20 Nov 2004 00:50
32 lines
2394 bytes
Hans, all,

   [snip]
>The way to do that is using sockets. You will be done for LAN and internet
>at once. You can use components f.i. TServerSocket/TClientSocket.

well, I have begun trying, and I am hung with a socket error 10049. 

Basically, I have taken my cues from the Chat example (BCB5, Examples,
Internet, Chat) and built a strict server and a strict client (Chat is
both, switching back and forth).  I am testing with my two office
machines.  The server sits on Windows 98 (not even SE), and the client
on Windows 2000.  The Chat app works reasonably well.  (It does not
like reversing the clien-server relationship too much.)

The server gets past the OnListen event and then sits and waits.
The client gets through OnLookup, OnConnecting, and gets an error
10049 before reaching OnConnect.  Actually, it does not matter if the
server app is up and running.

What could I look for where to narrow down on the source?  As Chat
works, I must be making a mistake ...

I'd appreciate any suggestions.

Cheers,                     Jochen
hjtrost at microfab dot com


Nil nimium studeo, Caesar, tibi velle placere,
nec scire ut an sis albus an ater homo.
                                          Catullus
Technical Details
Message-ID: <il4tp09to87nnmnl9o0sr2sll50g5sgtub@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <ehgqp0dna1b6aj9kik0oiuoci7o7k7b0m0@4ax.com> <419dbd5a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ec03f4b76bccbc73
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Hans-Jochen Trost <dont-email@but.post-re.ply>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Client-Server with on a LAN
Date: Fri, 19 Nov 2004 18:50:28 -0600
Organization: MicroFab Technologies, Inc.
Reply-To: dont-email@but.post-re.ply
Message-ID: <il4tp09to87nnmnl9o0sr2sll50g5sgtub@4ax.com>
References: <ehgqp0dna1b6aj9kik0oiuoci7o7k7b0m0@4ax.com> <419dbd5a@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.14.146.145
X-Trace: newsgroups.borland.com 1100911827 66.14.146.145 (19 Nov 2004 16:50:27 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail