p2  0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Aio_tcp Class Reference

create and init a Aio_tcp object More...

Public Member Functions

static PN aio_tcp_open (Potion *P, PN cl, PN tcp, PN sock)
 
static PN aio_tcp_nodelay (Potion *P, PN cl, PN tcp, PN enable)
 
static PN aio_tcp_keepalive (Potion *P, PN cl, PN tcp, PN enable, PN delay)
 
static PN aio_tcp_simultaneous_accepts (Potion *P, PN cl, PN tcp, PN enable)
 
static PN aio_tcp_bind (Potion *P, PN cl, PN tcp, PN addr, PN port)
 
static PN aio_tcp_bind6 (Potion *P, PN cl, PN tcp, PN addr, PN port)
 
static PN aio_tcp_getsockname (Potion *P, PN cl, PN tcp)
 
static PN aio_tcp_getpeername (Potion *P, PN cl, PN tcp)
 
static PN aio_tcp_connect (Potion *P, PN cl, PN tcp, PN req, PN addr, PN port, PN cb)
 
static PN aio_tcp_connect6 (Potion *P, PN cl, PN tcp, PN req, PN addr, PN port, PN cb)
 

Detailed Description

create and init a Aio_tcp object

Parameters
loopPNAioLoop to uv_loop_t*, defaults to uv_default_loop()
See also
http://nikhilm.github.io/uvbook/networking.html#tcp

Member Function Documentation

static PN aio_tcp_open ( Potion P,
PN  cl,
PN  tcp,
PN  sock 
)

Definition at line 811 of file aio.c.

static PN aio_tcp_nodelay ( Potion P,
PN  cl,
PN  tcp,
PN  enable 
)

Definition at line 819 of file aio.c.

static PN aio_tcp_keepalive ( Potion P,
PN  cl,
PN  tcp,
PN  enable,
PN  delay 
)

Definition at line 827 of file aio.c.

static PN aio_tcp_simultaneous_accepts ( Potion P,
PN  cl,
PN  tcp,
PN  enable 
)

Definition at line 836 of file aio.c.

static PN aio_tcp_bind ( Potion P,
PN  cl,
PN  tcp,
PN  addr,
PN  port 
)

Definition at line 844 of file aio.c.

static PN aio_tcp_bind6 ( Potion P,
PN  cl,
PN  tcp,
PN  addr,
PN  port 
)

Definition at line 864 of file aio.c.

static PN aio_tcp_getsockname ( Potion P,
PN  cl,
PN  tcp 
)

Definition at line 876 of file aio.c.

static PN aio_tcp_getpeername ( Potion P,
PN  cl,
PN  tcp 
)

Definition at line 884 of file aio.c.

static PN aio_tcp_connect ( Potion P,
PN  cl,
PN  tcp,
PN  req,
PN  addr,
PN  port,
PN  cb 
)

Definition at line 892 of file aio.c.

static PN aio_tcp_connect6 ( Potion P,
PN  cl,
PN  tcp,
PN  req,
PN  addr,
PN  port,
PN  cb 
)

Definition at line 914 of file aio.c.


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