Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NetServices by
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 17:15:23 by
 1.7.2
 1.7.2 
    