ReactOS 0.4.16-dev-2491-g3dc6630
socket Struct Reference

#include <winhttp_private.h>

Collaboration diagram for socket:

Public Attributes

struct object_header hdr
 
struct netconnnetconn
 
int keepalive_interval
 
unsigned int send_buffer_size
 
enum socket_state state
 
struct queue send_q
 
struct queue recv_q
 
enum socket_opcode opcode
 
DWORD read_size
 
char mask [4]
 
unsigned int mask_index
 
BOOL close_frame_received
 
DWORD close_frame_receive_err
 
USHORT status
 
char reason [123]
 
DWORD reason_len
 
charsend_frame_buffer
 
unsigned int send_frame_buffer_size
 
unsigned int send_remaining_size
 
unsigned int bytes_in_send_frame_buffer
 
unsigned int client_buffer_offset
 
charread_buffer
 
unsigned int bytes_in_read_buffer
 
SRWLOCK send_lock
 
volatile LONG pending_noncontrol_send
 
enum fragment_type sending_fragment_type
 
enum fragment_type receiving_fragment_type
 
BOOL last_receive_final
 

Detailed Description

Definition at line 284 of file winhttp_private.h.

Member Data Documentation

◆ bytes_in_read_buffer

unsigned int socket::bytes_in_read_buffer

Definition at line 308 of file winhttp_private.h.

Referenced by receive_bytes(), and WinHttpWebSocketCompleteUpgrade().

◆ bytes_in_send_frame_buffer

unsigned int socket::bytes_in_send_frame_buffer

Definition at line 305 of file winhttp_private.h.

Referenced by complete_send_frame(), and send_frame().

◆ client_buffer_offset

unsigned int socket::client_buffer_offset

Definition at line 306 of file winhttp_private.h.

Referenced by complete_send_frame(), and send_frame().

◆ close_frame_receive_err

DWORD socket::close_frame_receive_err

◆ close_frame_received

◆ hdr

◆ keepalive_interval

int socket::keepalive_interval

Definition at line 288 of file winhttp_private.h.

Referenced by socket_set_option(), and WinHttpWebSocketCompleteUpgrade().

◆ last_receive_final

BOOL socket::last_receive_final

Definition at line 313 of file winhttp_private.h.

Referenced by socket_receive().

◆ mask

char socket::mask[4]

Definition at line 295 of file winhttp_private.h.

Referenced by complete_send_frame(), and send_frame().

◆ mask_index

unsigned int socket::mask_index

Definition at line 296 of file winhttp_private.h.

Referenced by complete_send_frame(), and send_frame().

◆ netconn

◆ opcode

enum socket_opcode socket::opcode

Definition at line 293 of file winhttp_private.h.

Referenced by handle_control_frame(), socket_close(), and socket_receive().

◆ pending_noncontrol_send

volatile LONG socket::pending_noncontrol_send

Definition at line 310 of file winhttp_private.h.

Referenced by task_socket_send(), and WinHttpWebSocketSend().

◆ read_buffer

char* socket::read_buffer

◆ read_size

DWORD socket::read_size

◆ reason

◆ reason_len

DWORD socket::reason_len

Definition at line 301 of file winhttp_private.h.

Referenced by receive_close_status(), and WinHttpWebSocketQueryCloseStatus().

◆ receiving_fragment_type

enum fragment_type socket::receiving_fragment_type

Definition at line 312 of file winhttp_private.h.

Referenced by map_opcode().

◆ recv_q

◆ send_buffer_size

unsigned int socket::send_buffer_size

◆ send_frame_buffer

char* socket::send_frame_buffer

Definition at line 302 of file winhttp_private.h.

Referenced by complete_send_frame(), send_frame(), and socket_destroy().

◆ send_frame_buffer_size

unsigned int socket::send_frame_buffer_size

Definition at line 303 of file winhttp_private.h.

Referenced by send_frame().

◆ send_lock

SRWLOCK socket::send_lock

◆ send_q

◆ send_remaining_size

unsigned int socket::send_remaining_size

Definition at line 304 of file winhttp_private.h.

Referenced by complete_send_frame(), and send_frame().

◆ sending_fragment_type

enum fragment_type socket::sending_fragment_type

Definition at line 311 of file winhttp_private.h.

Referenced by map_buffer_type(), and WinHttpWebSocketSend().

◆ state

◆ status

USHORT socket::status

Definition at line 299 of file winhttp_private.h.

Referenced by receive_close_status(), and WinHttpWebSocketQueryCloseStatus().


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