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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gavin Y. (Guest)
on 2009-02-04 18: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
This topic is locked and can not be replied to.