Ruby  2.1.10p492(2016-04-01revision54464)
Data Structures | Functions
udpsocket.c File Reference
#include "rubysocket.h"

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

◆ rsock_init_udpsocket()

void rsock_init_udpsocket ( void  )

◆ udp_bind()

static VALUE udp_bind ( VALUE  sock,
VALUE  host,
VALUE  port 
)
static

◆ udp_connect()

static VALUE udp_connect ( VALUE  sock,
VALUE  host,
VALUE  port 
)
static

◆ udp_connect_internal()

static VALUE udp_connect_internal ( struct udp_arg arg)
static

◆ udp_init()

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

◆ udp_recvfrom_nonblock()

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

Definition at line 245 of file udpsocket.c.

References argc, argv, RECV_IP, and rsock_s_recvfrom_nonblock().

Referenced by rsock_init_udpsocket().

◆ udp_send()

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