🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Socket Connections through the Web and a router using NAT?

#1411
From: Quentin David Jones
Date: Wed, 31 Jan 2007 06:18
30 lines
2007 bytes
Greetings,

I am not an expert, I am a beginner.

But,
I had this exact error.

My problem, as explained by Remy, was :

"The only way for that to occur is if you have the TServerSocket's Service
property set to a non-empty string.  When you do that, TServerSocket
dynamically queries the port number that is associated with the specified
Service provider.  Obviously, you are setting the Service to an invalid
value.  You should get rid of the Service property value altogether and just
set the Port property directly instead."

And indeed, I had wrongly entered a name for the service.

Perhaps that is your issue too?


Q.


"Chris" <computer@programmer.com> wrote in message news:45a5011b$1@newsgroups.borland.com...
>
> "Windows Socket Error: The requested name is valid and was
> found in the database, but it does not have the correct
> associated data being resolved for (11004), on API 'ASync
> Lookup' "
Technical Details
Message-ID: <45c0348e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45a5011b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f2ef1bbb95928174
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Quentin David Jones" <quentin.jones@romteck.com.spamprotect>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <45a5011b$1@newsgroups.borland.com>
Subject: Re: Socket Connections through the Web and a router using NAT?
Date: Wed, 31 Jan 2007 15:18:50 +0900
Lines: 32
Organization: Romteck P/L
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 203.59.8.178
Message-ID: <45c0348e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170224270 203.59.8.178 (30 Jan 2007 22:17:50 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail