# psock Struct Reference
[Protosockets library]

`#include <psock.h>`

Collaboration diagram for psock:

[legend]

## Data Fields
struct pt pt | psockpt
const u8_t * | sendptr
u8_t * | readptr
char * | bufptr
u16_t | sendlen
u16_t | readlen
struct psock_buf | buf
unsigned int | bufsize
unsigned char | state

## Detailed Description

The representation of a protosocket.

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

## Field Documentation

struct psock_buf psock::buf`[read]`

char* psock::bufptr

unsigned int psock::bufsize

struct pt pt psock::psockpt`[read]`

u16_t psock::readlen

u8_t* psock::readptr

u16_t psock::sendlen

const u8_t* psock::sendptr

unsigned char psock::state

The documentation for this struct was generated from the following file:

- modules/uip/uip/psock.h