The Sequence Toolkit
www.sequence-toolkit.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
stk_udp.h
Go to the documentation of this file.
1
5
#ifndef STK_UDP_H
6
#define STK_UDP_H
7
#include "
stk_common.h
"
8
#include <sys/socket.h>
9
#include <netinet/in.h>
10
11
#define STK_UDP_SEND_FLAG_REUSE_GENID 0x1
12
#define STK_UDP_SEND_FLAG_NONBLOCK 0x10
18
typedef struct stk_udp_wire_read_buf_stct {
19
stk_uint64
read;
20
char
buf[64*1024];
21
struct
sockaddr_in from_address;
22
socklen_t from_address_len;
23
}
stk_udp_wire_read_buf_t
;
24
#endif
Sequence Toolkit
API, Wed Apr 15 2015 22:32:53