Stripped down version of Segundos NetService library (http://mbed.org/users/segundo/libraries/NetServices ). I have removed all NetServices, and all functions which had been disabled. Use this version when you need only pure TCP or UDP functions - this library compiles faster.
Dependents: christmasLights device_server pop3demo device_server_udp ... more
TCPSocket.h File Reference
TCP Socket header file. More...
Go to the source code of this file.
Data Structures | |
class | TCPSocket |
This is a simple TCP Socket class. More... | |
Enumerations | |
enum | TCPSocketErr { , TCPSOCKET_SETUP, TCPSOCKET_TIMEOUT, TCPSOCKET_IF, TCPSOCKET_MEM, TCPSOCKET_INUSE, TCPSOCKET_EMPTY, TCPSOCKET_RST, TCPSOCKET_OK = 0 } |
TCP Socket error codes. More... | |
enum | TCPSocketEvent { TCPSOCKET_CONNECTED, TCPSOCKET_ACCEPT, TCPSOCKET_READABLE, TCPSOCKET_WRITEABLE, TCPSOCKET_CONTIMEOUT, TCPSOCKET_CONRST, TCPSOCKET_CONABRT, TCPSOCKET_ERROR, TCPSOCKET_DISCONNECTED } |
TCP Socket Events. More... |
Detailed Description
TCP Socket header file.
Definition in file TCPSocket.h.
Enumeration Type Documentation
enum TCPSocketErr |
TCP Socket error codes.
- Enumerator:
TCPSOCKET_SETUP TCPSocket not properly configured.
TCPSOCKET_TIMEOUT Connection timed out.
TCPSOCKET_IF Interface has problems, does not exist or is not initialized.
TCPSOCKET_MEM Not enough mem.
TCPSOCKET_INUSE Interface / Port is in use.
TCPSOCKET_EMPTY Connections queue is empty.
TCPSOCKET_RST Connection was reset by remote host.
TCPSOCKET_OK Success.
Definition at line 36 of file TCPSocket.h.
enum TCPSocketEvent |
TCP Socket Events.
- Enumerator:
Definition at line 51 of file TCPSocket.h.
Generated on Tue Jul 12 2022 19:43:59 by
![doxygen](doxygen.png)