tcpip: use poll to wait for incomming data
This uses poll to wait for incomming data.
This also used to detect errors and avoid using an invalid
file descriptor.
This should improve the error handling when a connection is close
by the server or the client.
Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
Please register or sign in to comment