🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: udp server

#4389
From: Remy Lebeau (TeamB)
Date: Sat, 19 Feb 2005 09:06
20 lines
1889 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:4216ce20$1@newsgroups.borland.com...

> I've been trying to get it to work, but failing.

Just saying it does not work says nothing at all about the actual problem
you are having.

> How can I retrieve and possibly store the remote addresses and ports ?

That is your own responsibility to manage.  The only time TIdUDPServer has
that information available is inside the OnUDPRead event.  That is what the
ABinding parameter is for - it describes the client that is currently
sending the data for the event.  It is your responsibility to store that
information when needed.  Also, it is your own responsibility to keep your
own list of known clients so that you can send them data when needed.


Gambit
Technical Details
Message-ID: <4217028d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42113564$1@newsgroups.borland.com> <4211390f$3@newsgroups.borland.com> <4211fb7b$1@newsgroups.borland.com> <4212377f$2@newsgroups.borland.com> <42125194$1@newsgroups.borland.com> <421266e9@newsgroups.borland.com> <4216ce20$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f913eedcbd4070e3
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <42113564$1@newsgroups.borland.com> <4211390f$3@newsgroups.borland.com> <4211fb7b$1@newsgroups.borland.com> <4212377f$2@newsgroups.borland.com> <42125194$1@newsgroups.borland.com> <421266e9@newsgroups.borland.com> <4216ce20$1@newsgroups.borland.com>
Subject: Re: udp server
Date: Sat, 19 Feb 2005 01:06:35 -0800
Lines: 22
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: 68.69.17.41
Message-ID: <4217028d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108804237 68.69.17.41 (19 Feb 2005 01:10:37 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail