Article View: borland.public.cppbuilder.internet.socket
Article #4069Re: Socket problem setting port and connecting.
From: Hans Galema
Date: Mon, 18 Apr 2005 12:14
Date: Mon, 18 Apr 2005 12:14
28 lines
1888 bytes
1888 bytes
longshot wrote: > ClientSocket1->Port = 1234; > [Linker Error] Unresolved external '__fastcall > Scktcomp::TAbstractSocket::SetPortA(int)' referenced from BUILDERINO.OBJ. Yes. I remember that from bcb3. > I looked for a patch that should solve it but the borland page that should > contain it has gone offline. Looking for a patch was a good idea because, if I remember well, the error was gone when a bcb3 patch was applied. > When i remove the line ClientSocket1->Port = 1234; i get an error : > > Project builderino.exe raised exception class ESocketError with message > 'Asynchronous socket error 10049'. Process stopped. Use Step or Run to > continue. But you can set the Port at designtime with the Object Inspector too. > I looked up error 10049 and it says that my address isn't set right. Port was not filled in in the IDE then. Hans.
Technical Details
Message-ID:
<4263a52c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42638bd3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,87ef1514521c3f8d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 18 Apr 2005 14:14:12 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Socket problem setting port and connecting. References: <42638bd3$1@newsgroups.borland.com> In-Reply-To: <42638bd3$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <4263a52c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113826604 129.125.201.248 (18 Apr 2005 05:16:44 -0800) Lines: 28 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail