🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Client gives 10049 instead of 10061

#4829
From: Hans-Jochen Trost
Date: Tue, 23 Nov 2004 16:02
35 lines
2591 bytes
Remy,

   [snip]
>You should first double-check your Port assignment.  Nowhere in your
>explanation have you specified what Port the server is listening on, or
>which Port you are actually assigning to the TClientSocket.  You are
>assigning the Host but not the Port.  Trying to connect to Port 0, for
>instance, can produce a 10049 error.

You've hit the nail on the head.  On this count, I am doing exactly
what chat is doing, i.e., nothing.  Thus by a stroke of good or bad
luck, whichever way you want to put it, chat has the port number 1024
and I have 0.  I now added an explicit port assignment as you
suggested and voila I get my 10061.  Our IT man told me that within
the LAN I can pick any (unused) port I want, so I did and I'll worry
about external connections when we get there.

   [snip]
>http://www.deja.com has a complete archive going back at least 8 years.

Thanks for that one.  I sort of remembered and tried www.dejanews.com.
There I found a few messages older than early summer 2004 but nothing
in terms of more examples.  (The one of yours I mentioned uses the
Address and Port properties for an all numerical identification.)

Thanks for the help,

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: <qjm6q0dkg0593i58r3ra9oaq25tmd5vk6d@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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: <eis4q01h3c6sgrfm7hfs0m0mj0bfkjf43o@4ax.com> <41a28a38$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,42155a35e8f17c43
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Hans-Jochen Trost <dont-email@but.post-re.ply>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Client gives 10049 instead of 10061
Date: Tue, 23 Nov 2004 10:02:43 -0600
Organization: MicroFab Technologies, Inc.
Reply-To: dont-email@but.post-re.ply
Message-ID: <qjm6q0dkg0593i58r3ra9oaq25tmd5vk6d@4ax.com>
References: <eis4q01h3c6sgrfm7hfs0m0mj0bfkjf43o@4ax.com> <41a28a38$1@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 1101225761 66.14.146.145 (23 Nov 2004 08:02:41 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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