Forum: Ruby How to get a destination IP from a UDP packet?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B6e27d6449961f3c2d6852d52b84df47?d=identicon&s=25 Gavin Yap (gavinyap)
on 2009-02-04 17:45
Hi there,


I wanna to get the destination ip of a UDP packet, when it arrives at
the server.
I need this so that the server could inspect the packet whether it is a
broadcast or unicast(to the server) packet and do different things with
is
This topic is locked and can not be replied to.