The socket interface (module) is basically an "thin" layer on top of the OS socket interface. It is assumed that, unless you have special needs, gen_[tcp|udp|sctp] should be sufficent (when they become available).
Note that just because we have a documented and described option, it does not mean that the OS supports it. So its recommended that the user reads the platform specific documentation for the option used.
Some functions allow for an asynchronous call
(
The caller can then make another
call to the recv function and now expect data.
The user must also be prepared to receive an abort message:
If the operation is aborted
for whatever reason (e.g. if the socket is closed "by someone else").
The
Note that all other users are locked out until the
'current user' has called the function (recv in this case). So either
immediately call the function or
Options for level
Options for level
Options for level
Options for level
Options for level
Options for level
Options for level