Functions | |
NUTDEVICE* | NutSoStreamCreate (TCPSOCKET *sock) |
Create a stream device from a specified socket. More... | |
int | NutSoStreamDestroy (NUTDEVICE *dev) |
Destroy a previously created stream device. More... |
This driver does not control a real device. It can be created from an established TCP socket connection. The purpose of this driver is to enable applications to use advanced stream I/O functions on TCP sockets.
|
Create a stream device from a specified socket.
|
|
Destroy a previously created stream device.
This will flush the stream output buffer and release any occupied memory. To terminate the connection and close the socket, the application must call NutTcpCloseSocket().
|