Article View: borland.public.cppbuilder.internet.socket
Article #1567Setting the Port property in TServerSocket
From: Jon S. Berndt
Date: Mon, 01 Jan 2007 22:14
Date: Mon, 01 Jan 2007 22:14
20 lines
1620 bytes
1620 bytes
Using: Borland C++Builder v3.0 I cannot seem to be able to set the Port property of a TServerSocket at runtime as follows: ServerSocket1->Port = MyPort; I get a link error: [LinkerError] Unresolved external 'Scktcomp::TAbstractSocket::SetPortA(int) __fastcall' referenced from D:\JON\CHARTINGTEST\GUI.OBJ. Yes, I know I should be using a newer version of _everything_. Am I missing something here? Is there an easy fix for this? I've looked at the source, but a cure isn't jumping out at me. Alternatively, is there a better socket component that is simple and lite like TServerSocket that I could use in C++Builder v3.0? Jon Berndt
Technical Details
Message-ID:
<459987ac$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,70aac59ccf2a7a17,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jon S. Berndt" <jsb@hal-pc.org> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Setting the Port property in TServerSocket Date: Mon, 1 Jan 2007 16:14:10 -0600 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 NNTP-Posting-Host: 24.167.60.182 Message-ID: <459987ac$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1167689644 24.167.60.182 (1 Jan 2007 14:14:04 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail