27#ifndef __ETHERNETTCPSERVER_H__
28#define __ETHERNETTCPSERVER_H__
108 uint32_t
Send(
const uint8_t *buff, uint32_t size)
override;
120 uint32_t
Send(uint8_t charToSend) {
121 return EthernetTcp::Send(charToSend);
134 uint32_t
Send(
const char *nullTermStr) {
135 return EthernetTcp::Send(nullTermStr);
138 using EthernetTcp::LocalPort;
151 uint16_t m_serverPort;
154 TcpData m_tcpDataClient[CLIENT_MAX];
ClearCore TCP client class.
Definition EthernetTcpClient.h:58
ClearCore TCP server class.
Definition EthernetTcpServer.h:52
EthernetTcpClient Accept()
Return a client with an active connection.
EthernetTcpServer(uint16_t port)
Construct a TCP server.
uint32_t Send(const uint8_t *buff, uint32_t size) override
Send data to all clients managed by the server.
uint32_t Send(const char *nullTermStr)
Send data to all clients managed by the server.
Definition EthernetTcpServer.h:134
EthernetTcpClient Available()
Return a reference to a client that has incoming data.
bool Ready()
Is the server ready to accept a client?
void Begin()
Set up the server to begin listening for incoming TCP connections.
uint32_t Send(uint8_t charToSend)
Send data to all clients managed by the server.
Definition EthernetTcpServer.h:120
Namespace to encompass the ClearCore board API.
Definition AdcManager.h:36