BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

#include <sock.h>

Data Fields

unsigned cnt
 
struct {
   int   level
 
   int   optname
 
   void *   optval
 
   int   optlen
 
options [PJ_MAX_SOCKOPT_PARAMS]
 

Detailed Description

Options to be set for the socket.

Field Documentation

◆ cnt

unsigned pj_sockopt_params::cnt

The number of options to be applied.

◆ level

int pj_sockopt_params::level

The level at which the option is defined.

◆ 

struct { ... } pj_sockopt_params::options[PJ_MAX_SOCKOPT_PARAMS]

Array of options to be applied.

◆ optlen

int pj_sockopt_params::optlen

Buffer size of the buffer pointed by optval.

◆ optname

int pj_sockopt_params::optname

Option name.

◆ optval

void* pj_sockopt_params::optval

Pointer to the buffer in which the option is specified.


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

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.