PatchworkOS
Loading...
Searching...
No Matches
local_socket_data_t Struct Reference

Local socket data structure. struct local_socket_data_t. More...

#include <local.h>

Data Fields

union { 
 
   struct { 
 
      local_listen_t *   listen 
 
   }   listen 
 
   struct { 
 
      local_conn_t *   conn 
 
      bool   isServer 
 
   }   conn 
 
};  
 
lock_t lock
 

Detailed Description

Local socket data structure. struct local_socket_data_t.

Stored in the private field of a socket_t for local sockets.

Definition at line 59 of file local.h.

Field Documentation

◆ [union]

union { ... } local_socket_data_t

◆ conn [1/2]

local_conn_t* local_socket_data_t::conn

Definition at line 68 of file local.h.

Referenced by local_socket_accept().

◆ [struct] [2/2]

struct { ... } local_socket_data_t::conn

◆ isServer

bool local_socket_data_t::isServer

Definition at line 69 of file local.h.

◆ listen [1/2]

local_listen_t* local_socket_data_t::listen

Definition at line 64 of file local.h.

◆ [struct] [2/2]

struct { ... } local_socket_data_t::listen

◆ lock

lock_t local_socket_data_t::lock

Definition at line 72 of file local.h.

Referenced by local_socket_accept().


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