Subject: getting UDP destination port/addresses
To: None <tech-net@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-net
Date: 01/06/2001 23:04:38
My recollection was that there was some way to get the destination
address/port to which an UDP packet was sent by toggle either options to
recvmsg(), or via setsockopt(). The option was in 4.3, I'm sure... But I
haven't used it since.
Has it disappeared?
I hate having to open a socket for each address that exists (a la BIND,
etc...) , and this is NetBSD specific.
] Train travel features AC outlets with no take-off restrictions|gigabit is no[
] Michael Richardson, Solidum Systems Oh where, oh where has|problem with[
] mcr@solidum.com www.solidum.com the little fishy gone?|PAX.port 1100[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [