🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Local Address of Server Socket

#4847
From: Dev Support
Date: Sat, 27 Nov 2004 20:42
31 lines
1896 bytes
Hans and Remy:

Thank you both for your help. You've both been quite helpful!

Thank you (Again)

Marshall


"hans galema" <notused@notused.nl> wrote in message
news:41a84a5e$1@newsgroups.borland.com...
> Dev Support wrote:
>
> > Just scratching my head about how to get the local ip address of a
server
> > socket???
>
> For a listening TServerSocket->Socket there only is a local ip address
> available when there is a connection. A machine can have more local ip
> addresses. The socket only knows upon connection which networkcard
> or modem is used. Every card or modem mostly has a different ip-address.
>
> > ServerSocket1->Socket->LocalAddress.c_str());
>
> > Produces the output of ...
> >
> > "0.0.0.0 Listening..."
>
> Upon connection take the Socket of the specific client.
>
> Hans.
Technical Details
Message-ID: <41a8c71b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41a7cc27$1@newsgroups.borland.com> <41a84a5e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,da4f1b54b80c98d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dev Support" <infsoft@centurytel.net>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41a7cc27$1@newsgroups.borland.com> <41a84a5e$1@newsgroups.borland.com>
Subject: Re: Local Address of Server Socket
Date: Sat, 27 Nov 2004 12:42:34 -0800
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 69.29.171.200
Message-ID: <41a8c71b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101580059 69.29.171.200 (27 Nov 2004 10:27:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail