See the Microchip License Agreement for more details.
Functions | |
BOOL | TCPWasReset (TCP_SOCKET hTCP) |
Self-clearing semaphore inidicating socket reset. | |
BOOL | TCPIsConnected (TCP_SOCKET hTCP) |
Determines if a socket has an established connection. | |
void | TCPDisconnect (TCP_SOCKET hTCP) |
Disconnects an open socket. | |
WORD | TCPIsPutReady (TCP_SOCKET hTCP) |
Determines how much free space is available in the TCP TX buffer. | |
BOOL | TCPPut (TCP_SOCKET hTCP, BYTE byte) |
Writes a single byte to a TCP socket. | |
WORD | TCPPutArray (TCP_SOCKET hTCP, BYTE *Data, WORD Len) |
Writes an array from RAM to a TCP socket. | |
BYTE * | TCPPutString (TCP_SOCKET hTCP, BYTE *Data) |
Writes a null-terminated string from RAM to a TCP socket. | |
WORD | TCPIsGetReady (TCP_SOCKET hTCP) |
Determines how many bytes can be read from the TCP RX buffer. | |
BOOL | TCPGet (TCP_SOCKET hTCP, BYTE *byte) |
Retrieves a single byte to a TCP socket. | |
WORD | TCPFindEx (TCP_SOCKET hTCP, BYTE cFind, WORD wStart, WORD wSearchLen, BOOL bTextCompare) |
Searches for a byte in the TCP RX buffer. | |
void | TCPFlush (TCP_SOCKET hTCP) |
Immediately transmits all pending TX data. | |
TCP_SOCKET | TCPOpen (DWORD dwRemoteHost, BYTE vRemoteHostType, WORD wPort, BYTE vSocketPurpose) |
Opens a TCP socket for listening or as a client. |