Article View: borland.public.cppbuilder.internet.socket
Article #4386Re: udp server
From: Jonathan Benedicto
Date: Sat, 19 Feb 2005 05:27
Date: Sat, 19 Feb 2005 05:27
25 lines
1888 bytes
1888 bytes
I've been trying to get it to work, but failing. How can I retrieve and possibly store the remote addresses and ports ? -- Jonathan "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:421266e9@newsgroups.borland.com... > > "Jonathan Benedicto" <incorrect@no.server> wrote in message > news:42125194$1@newsgroups.borland.com... > >> The problem I had with those is that they require a host and port. > > Yes. That is how UDP works. UDP is not a connection-based transport to > begin with. All outgoing data has to specify where it is to be delivered > to. Inside the OnDataAvailable event hander, those values are provided. > Outside the event handler, it is your own responsibility to keep track of > the IP/Port values that you want to send data to. > > > Gambit > >
Technical Details
Message-ID:
<4216ce20$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f913eedcbd4070e3 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> 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> Subject: Re: udp server Date: Sat, 19 Feb 2005 00:27:00 -0500 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.158.106.106 Message-ID: <4216ce20$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108790816 69.158.106.106 (18 Feb 2005 21:26:56 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail