[erlang-questions] Getting the MTU of an IPv4 UDP socket?

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Tue Mar 22 22:21:13 CET 2011


On Tue, Mar 22, 2011 at 22:18, Ivan Ostres <iostres@REDACTED> 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.

-- 
J.


More information about the erlang-questions mailing list