|
| TcpClient (bool autoDestruct) |
|
| TcpClient (tcp_pcb *clientTcp, TcpClientDataDelegate clientReceive, TcpClientCompleteDelegate onCompleted) |
|
| TcpClient (TcpClientCompleteDelegate onCompleted, TcpClientEventDelegate onReadyToSend, TcpClientDataDelegate onReceive=NULL) |
|
| TcpClient (TcpClientCompleteDelegate onCompleted, TcpClientDataDelegate onReceive=NULL) |
|
| TcpClient (TcpClientDataDelegate onReceive) |
|
virtual bool | connect (String server, int port, boolean useSsl=false, uint32_t sslOptions=0) |
|
virtual bool | connect (IPAddress addr, uint16_t port, boolean useSsl=false, uint32_t sslOptions=0) |
|
virtual void | close () |
|
void | setReceiveDelegate (TcpClientDataDelegate receiveCb=NULL) |
| Set or clear the callback for received data. More...
|
|
void | setCompleteDelegate (TcpClientCompleteDelegate completeCb=NULL) |
| Set or clear the callback for connection close. More...
|
|
bool | send (const char *data, uint16_t len, bool forceCloseAfterSent=false) |
|
bool | sendString (String data, bool forceCloseAfterSent=false) |
|
__forceinline bool | isProcessing () |
|
__forceinline TcpClientState | getConnectionState () |
|
virtual bool | connect (String server, int port, bool useSsl=false, uint32_t sslOptions=0) |
|
virtual bool | connect (IPAddress addr, uint16_t port, bool useSsl=false, uint32_t sslOptions=0) |
|
int | writeString (const char *data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) |
|
int | writeString (const String data, uint8_t apiflags=TCP_WRITE_FLAG_COPY) |
|
virtual int | write (const char *data, int len, uint8_t apiflags=TCP_WRITE_FLAG_COPY) |
|
int | write (IDataSourceStream *stream) |
|
__forceinline uint16_t | getAvailableWriteSize () |
|
void | flush () |
|
void | setTimeOut (uint16_t waitTimeOut) |
|
IPAddress | getRemoteIp () |
|
uint16_t | getRemotePort () |
|
|
static err_t | staticOnConnected (void *arg, tcp_pcb *tcp, err_t err) |
|
static err_t | staticOnReceive (void *arg, tcp_pcb *tcp, pbuf *p, err_t err) |
|
static err_t | staticOnSent (void *arg, tcp_pcb *tcp, uint16_t len) |
|
static err_t | staticOnPoll (void *arg, tcp_pcb *tcp) |
|
static void | staticOnError (void *arg, err_t err) |
|
static void | staticDnsResponse (const char *name, ip_addr_t *ipaddr, void *arg) |
|
static void | closeTcpConnection (tcp_pcb *tpcb) |
|