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.
Dependencies: DS1307 TextLCD mbed
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 Sun Jul 17 2022 10:12:52 by
