Functions | |
NUTDEVICE * | NutSoStreamCreate (TCPSOCKET *sock) |
Create a virtual stream device from a specified socket. | |
int | NutSoStreamDestroy (NUTDEVICE *dev) |
Destroy a previously created stream device. |
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 virtual 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().
|