PadicoTM

Documentation

« back to PM2 home.
component: SOCKS4_client- socket factory of a SOCKS4 proxy.

Variables

static const struct padico_socketfactory_s socks4client_sf_driver
 'SocketFactory' facet for SocketFactory-plain
 
static const struct puk_component_driver_s socks4client_component_driver
 instanciation facet for SocketFactory-plain
 

Detailed Description

Variable Documentation

◆ socks4client_component_driver

const struct puk_component_driver_s socks4client_component_driver
static
Initial value:
=
{
.instantiate = &socks4client_instantiate,
}
static void socks4client_destroy(void *)
static void * socks4client_instantiate(puk_instance_t, puk_context_t)

instanciation facet for SocketFactory-plain

Definition at line 67 of file socks4-client.c.

◆ socks4client_sf_driver

const struct padico_socketfactory_s socks4client_sf_driver
static
Initial value:
=
{
.create = &socks4client_create,
.bind = NULL,
.listen = NULL,
.connect = &socks4client_connect,
.close = &socks4client_close,
.setsockopt = NULL,
}
return NULL
Definition Shm.h:88
static int socks4client_close(void *_status)
static int socks4client_connect(void *_status, const struct sockaddr *addr, socklen_t addrlen, padico_socketfactory_connector_t notifier, void *key)
static int socks4client_create(void *_status, int family, int type, int protocol)

'SocketFactory' facet for SocketFactory-plain

Definition at line 50 of file socks4-client.c.