libwebsockets
Lightweight C library for HTML5 websockets
Loading...
Searching...
No Matches
lws_transport_ops Struct Reference

#include <lws-adopt.h>

Collaboration diagram for lws_transport_ops:

Data Fields

int(* read )(struct lws *wsi, void *opaque, uint8_t *buf, size_t len)
int(* write )(struct lws *wsi, void *opaque, const uint8_t *buf, size_t len)
int(* recv_dgram )(struct lws *wsi, void *opaque, uint8_t *buf, size_t len, lws_sockaddr46 *peer, uint8_t *ecn)
int(* send_dgram )(struct lws *wsi, void *opaque, const uint8_t *buf, size_t len, const lws_sockaddr46 *dest)

Detailed Description

Definition at line 201 of file lws-adopt.h.

Field Documentation

◆ read

int(* lws_transport_ops::read) (struct lws *wsi, void *opaque, uint8_t *buf, size_t len)

Definition at line 202 of file lws-adopt.h.

◆ write

int(* lws_transport_ops::write) (struct lws *wsi, void *opaque, const uint8_t *buf, size_t len)

Definition at line 203 of file lws-adopt.h.

◆ recv_dgram

int(* lws_transport_ops::recv_dgram) (struct lws *wsi, void *opaque, uint8_t *buf, size_t len, lws_sockaddr46 *peer, uint8_t *ecn)

Definition at line 205 of file lws-adopt.h.

◆ send_dgram

int(* lws_transport_ops::send_dgram) (struct lws *wsi, void *opaque, const uint8_t *buf, size_t len, const lws_sockaddr46 *dest)

Definition at line 207 of file lws-adopt.h.


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