Weiguang Shi wrote:
nc might be waiting on all the interfaces; enumerating MTUs and choosing the
largest
sounds complicated, especially when some interfaces can be configured to receive
jumbo frames. Why not just use something like 64KB as the other user
suggested or something even larger?
That is the easy fix, yes. :^)
If the socket's pcb laddr is bound to an IP, and IP to which it is bound
stays on the same physical interface, then the MTU may easily be
obtained. If it's INADDR_ANY, or you expect the IP to be dynamically
reconfigured on another interface, then auto-tuning is not possible.
regards,
BMS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"