Article View: borland.public.cppbuilder.internet.socket
Article #4828Re: Client gives 10049 instead of 10061
From: Hans-Jochen Trost
Date: Tue, 23 Nov 2004 16:06
Date: Tue, 23 Nov 2004 16:06
22 lines
1707 bytes
1707 bytes
Hans,
[snip]
>To exclude problems caused by a LAN start running server and
>client on the same machine and use localhost for Host.
I tried asking for localhost without running the server program and
still got a 10049. Remy suggested the correct answer - I am not
setting a port explicitly (or implicitly through the Service property)
and end up getting thrown port 0 at me. The chat program does the
same but gets port 1024 and therefore works.
Thanks for your 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:
<rpn6q01eh9oi07jhkmsqc5p8jkbhua4lrh@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<eis4q01h3c6sgrfm7hfs0m0mj0bfkjf43o@4ax.com> <41a307a8@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:06:05 -0600 Organization: MicroFab Technologies, Inc. Reply-To: dont-email@but.post-re.ply Message-ID: <rpn6q01eh9oi07jhkmsqc5p8jkbhua4lrh@4ax.com> References: <eis4q01h3c6sgrfm7hfs0m0mj0bfkjf43o@4ax.com> <41a307a8@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 1101225964 66.14.146.145 (23 Nov 2004 08:06:04 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail