Ruby  2.1.3p242(2014-09-19revision47630)
Data Structures | Functions
udpsocket.c File Reference
#include "rubysocket.h"
Include dependency graph for udpsocket.c:

Go to the source code of this file.

Data Structures

struct  udp_arg
 

Functions

static VALUE udp_init (int argc, VALUE *argv, VALUE sock)
 
static VALUE udp_connect_internal (struct udp_arg *arg)
 
static VALUE udp_connect (VALUE sock, VALUE host, VALUE port)
 
static VALUE udp_bind (VALUE sock, VALUE host, VALUE port)
 
static VALUE udp_send (int argc, VALUE *argv, VALUE sock)
 
static VALUE udp_recvfrom_nonblock (int argc, VALUE *argv, VALUE sock)
 
void rsock_init_udpsocket (void)
 

Function Documentation

void rsock_init_udpsocket ( void  )
static VALUE udp_bind ( VALUE  sock,
VALUE  host,
VALUE  port 
)
static
static VALUE udp_connect ( VALUE  sock,
VALUE  host,
VALUE  port 
)
static
static VALUE udp_connect_internal ( struct udp_arg arg)
static
static VALUE udp_init ( int  argc,
VALUE argv,
VALUE  sock 
)
static
static VALUE udp_recvfrom_nonblock ( int  argc,
VALUE argv,
VALUE  sock 
)
static

Definition at line 245 of file udpsocket.c.

References RECV_IP, and rsock_s_recvfrom_nonblock().

Referenced by rsock_init_udpsocket().

static VALUE udp_send ( int  argc,
VALUE argv,
VALUE  sock 
)
static