The RTEMS network package provides almost a complete set of BSD network
services. The network functions work like their BSD counterparts
with the following exceptions:
A given socket can be read or written by only one task at a time.
The select function only works for file descriptors associated
with sockets.
You must call openlog before calling any of the syslog functions.
Some of the network functions are not thread-safe.
For example the following functions return a pointer to a static
buffer which remains valid only until the next call:
gethostbyaddr
gethostbyname
inet_ntoa
(inet_ntop is thread-safe, though).
The RTEMS network package gathers statistics.
Addition of a mechanism to "tap onto" an interface
and monitor every packet received and transmitted.
Addition of SO_SNDWAKEUP and SO_RCVWAKEUP socket options.
Some of the new features are discussed in more detail in the following
sections.