[erlang-questions] Getting the MTU of an IPv4 UDP socket?
Jesper Louis Andersen
Tue Mar 22 22:21:13 CET 2011
On Tue, Mar 22, 2011 at 22:18, Ivan Ostres <> wrote:
> MTU is defined on data-link layer, not on transport. If you don't want to do
> it with PMTU discovery, simplest way is to run "ifconfig" in shell, it shows
> MTU on OSX and it should do the same on Linux:
> en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
That is one way :) Is there one which is less involved, heh.
More information about the erlang-questions