Macros | Functions
ws_engine.cpp File Reference
#include "precompiled.hpp"
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstring>
#include "compat.hpp"
#include "tcp.hpp"
#include "ws_engine.hpp"
#include "session_base.hpp"
#include "err.hpp"
#include "ip.hpp"
#include "random.hpp"
#include "ws_decoder.hpp"
#include "ws_encoder.hpp"
#include "null_mechanism.hpp"
#include "plain_server.hpp"
#include "plain_client.hpp"
Include dependency graph for ws_engine.cpp:

Go to the source code of this file.

Macros

#define IPV6_ADD_MEMBERSHIP   IPV6_JOIN_GROUP
 

Functions

static void compute_accept_key (char *key_, unsigned char *hash_)
 
static void compute_accept_key (char *key_, unsigned char hash_[SHA_DIGEST_LENGTH])
 
static int encode_base64 (const unsigned char *in_, int in_len_, char *out_, int out_len_)
 

Macro Definition Documentation

◆ IPV6_ADD_MEMBERSHIP

#define IPV6_ADD_MEMBERSHIP   IPV6_JOIN_GROUP

Definition at line 50 of file ws_engine.cpp.

Function Documentation

◆ compute_accept_key() [1/2]

static void compute_accept_key ( char *  key_,
unsigned char *  hash_ 
)
static

Definition at line 1028 of file ws_engine.cpp.

◆ compute_accept_key() [2/2]

static void compute_accept_key ( char *  key_,
unsigned char  hash_[SHA_DIGEST_LENGTH] 
)
static

◆ encode_base64()

static int encode_base64 ( const unsigned char *  in_,
int  in_len_,
char *  out_,
int  out_len_ 
)
static

Definition at line 990 of file ws_engine.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:05