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: DHT WIZnetInterface mbed-src
TCPSocketConnectionArdu Class Reference
TCP socket connection for compatible Arduino. More...
#include <TCPSocketConnectionArdu.h>
Public Member Functions | |
TCPSocketConnectionArdu () | |
TCP socket connection. | |
virtual ssize_t | write (const void *buf, size_t size) |
Send data to the remote host. | |
virtual uint8_t | connected () |
Check if the socket is connected. |
Detailed Description
TCP socket connection for compatible Arduino.
Definition at line 26 of file TCPSocketConnectionArdu.h.
Constructor & Destructor Documentation
TCP socket connection.
Definition at line 31 of file TCPSocketConnectionArdu.h.
Member Function Documentation
uint8_t connected | ( | ) | [virtual] |
Check if the socket is connected.
- Returns:
- true if connected, false otherwise.
Definition at line 73 of file TCPSocketConnectionArdu.cpp.
ssize_t write | ( | const void * | buf, |
size_t | size | ||
) | [virtual] |
Send data to the remote host.
- Parameters:
-
data The buffer to send to the host. length The length of the buffer to send.
- Returns:
- the number of written bytes on success (>=0) or -1 on failure
Definition at line 31 of file TCPSocketConnectionArdu.cpp.
Generated on Wed Jul 13 2022 02:25:39 by
