Microchip® Advanced Software Framework

psock Struct Reference

The representation of a protosocket.

The protosocket structrure is an opaque structure with no user-visible elements.

#include <psock.h>

Data Fields

struct psock_buf buf
 
uint8_t * bufptr
 
unsigned int bufsize
 
struct pt pt psockpt
 
uint16_t readlen
 
uint8_t * readptr
 
uint16_t sendlen
 
const uint8_t * sendptr
 
unsigned char state
 

struct psock_buf psock::buf

Referenced by psock_datalen().

uint8_t* psock::bufptr
unsigned int psock::bufsize

Referenced by psock_datalen().

struct pt pt psock::psockpt
uint16_t psock::readlen

Referenced by psock_newdata().

uint8_t* psock::readptr
uint16_t psock::sendlen
const uint8_t* psock::sendptr
unsigned char psock::state

Referenced by psock_newdata().