🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: BUG for TClientSocket and TClientDataSet

#596
From: Emmanuel
Date: Fri, 30 Nov 2007 05:31
24 lines
1722 bytes
>
> Don't open them at the same time, obviously.  Without knowing more about 
> why
> the EVariantInvalidArgError is being raised, all I can guess is that both
> components are trying to use the same port at the same one, and one of 
> them
> is going to fail as a result.
My Program is that
Firstly open the TClientDataSet by SocketServer(port 211) to machine A, 
there is no problem
Secondly Open a TClientSocket connect to  other machine B (Remote port is 
9000) , there is also no problem,
and then communicate to B,and get data from machine B,  there is also no 
problem
after that update or Get data by TClientDataSet from/to machine A, Error is 
occured

I have also think may be the local port problem, but how can I set the local 
port for TClientDataSet,and SocketConnection?

>
> Gambit
>
> 
Technical Details
Message-ID: <474f9ef5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <474ecbea@newsgroups.borland.com> <474f866c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a20543488518dffc
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Emmanuel" <emmanuel@erphk.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <474ecbea@newsgroups.borland.com> <474f866c$1@newsgroups.borland.com>
Subject: Re: BUG for TClientSocket and TClientDataSet 
Date: Fri, 30 Nov 2007 13:31:13 +0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 59.40.51.99
Message-ID: <474f9ef5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1196400373 59.40.51.99 (29 Nov 2007 21:26:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail