erl 4.9.1. gen_udp, udp packages

Sean Hinde Sean.Hinde@REDACTED
Wed Apr 19 15:51:21 CEST 2000


> I.e. the number is the *source* port of the packet - delivering the
> destination port with each packet isn't obviously useful.:-) If the
> sender didn't bind to a specific port (in Erlang: Passed a 
> Port value of

And not only that, If you want to send a reply to the application which
originated the udp packet, it is this port you need to use rather than the
one you opened it with. (I hit this one with my RADIUS implementation!)

Rgds,

Sean



More information about the erlang-questions mailing list