gen_udp:open(...[{packet, 0}])

Raimo Niskanen raimo@REDACTED
Mon Jun 25 10:24:17 CEST 2001

Hal Snyder wrote:
> What happened to raw IP support for UDP? Seems it was in R6 but is
> gone from OTP R7B. :-(
> The gen_udp:open.. {packet,0} change came to our attention when trying
> to extend the proxy system to other services on newer boxes running
> R7B.

We removed the {packet, 0} option since I thought it was misleading. An
UDP socket _is_ packet oriented as it is, so {packet, 0} did not add
anything. What do you mean with "raw IP"; UDP is as raw as it gets, is
it not?

/ Raimo Niskanen, Ericsson Utvecklings AB, Erlang/OTP

More information about the erlang-questions mailing list