Article View: borland.public.cppbuilder.internet.socket
Article #5694TServerSocket problems
From: Michele Santucci
Date: Fri, 09 Jul 2004 15:04
Date: Fri, 09 Jul 2004 15:04
24 lines
1657 bytes
1657 bytes
Hello!
I have several questions:
1) I would like to know how to know/set the address on wich the
TServerSocket listen since TServerSocket->Socket->LocalAddress is always
"0.0.0.0" and is read only.
2) I would like also to know how to track the IP address of a connected
client.
3) Last but not least ... is it possible to stop listening after the first
connection? I mean if I set the Active property to false the server stops
EVERY activity included each connected clients (I would like to know how to
stop listening WITHOUT closing the ongoing connections).
Best regards...
TuX
--
================================
Michele Santucci
Software Development Manager
Celin Avio S.r.l.
Via Fontevivo, 21/M 19100 La Spezia
tel. +39-0187564080
================================
Technical Details
Message-ID:
<40eeb440$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,133ba4102b593f76,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Michele Santucci" <michele.santucci.nospam@nospam.celinavio.it> Newsgroups: borland.public.cppbuilder.internet.socket Subject: TServerSocket problems Date: Fri, 9 Jul 2004 17:04:08 +0200 Lines: 26 Organization: Celin Avio S.r.l. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 62.94.122.178 Message-ID: <40eeb440$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089385536 62.94.122.178 (9 Jul 2004 08:05:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail