🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TUdpSocket LocalPort property

#5795
From: Antti Arola
Date: Sat, 24 Jan 2004 20:32
17 lines
1687 bytes
Hi,

does someone have a fix for the following TUdpSocket (maybe also 
TCustomIpClient, TIpSocket) problem?

The value of LocalPort does not affect anything, the real port number to 
which it the socket is bound is always allocated dynamically. (This can be 
tested by sending datagrams to e.g. NMUDP socket, whose localport is 
known, and printing the origin's port number.)

This causes that reception with UdpSocket is impossible, unless the sender 
first gets to know the dynamic port#.


Regards,
antti
Technical Details
Message-ID: <opr2arczm2mrrfd7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,d2cb948277805409,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 1036eb,d2cb948277805409,start
X-Google-Attributes: gid1036eb,public
X-Google-Thread: 11508e,d2cb948277805409,start
X-Google-Attributes: gid11508e,public
X-Google-ArrivalTime: 2004-01-24 12:34:10 PST
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock,borland.public.delphi.vcl.components.using
Subject: TUdpSocket LocalPort property
From: Antti Arola <antti@elektro-arola.fi>
Content-Type: text/plain; format=flowed; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Date: Sat, 24 Jan 2004 22:32:49 +0200
Message-ID: <opr2arczm2mrrfd7@newsgroups.borland.com>
User-Agent: Opera7.23/Win32 M2 build 3227
NNTP-Posting-Host: 213.28.193.96
X-Trace: newsgroups.borland.com 1074976333 213.28.193.96 (24 Jan 2004 12:32:13 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail