cesanta/net_skeleton — pull request #12 by mmikulicic (2014-10-20 09:30:48+00:00)
Title: Add ns_connect_opt with support for tuning send buffer

This is the first example of an _opt function.
It's necessary because those sockopts can be set only before connecting.

The pattern shows the weekness of making it hard to specify defaults; in this case it's ok, instead of zero buffer size one could ask 1 byte.