#include <netinet/in.h>
Go to the source code of this file.
Classes | |
struct | udp_struct |
Functions | |
void | udpClient_Close (udp_struct *udp) |
int | udpClient_Init (udp_struct *udp, const char *host, int port) |
int | udpClient_Send (udp_struct *udp, char *buf, int len) |
void | udpServer_Close (udp_struct *udp) |
int | udpServer_Init (udp_struct *udp, int port, int blocking) |
int | udpServer_Receive (udp_struct *udp, char *buf, int len) |
void udpClient_Close | ( | udp_struct * | udp | ) |
int udpClient_Init | ( | udp_struct * | udp, |
const char * | host, | ||
int | port | ||
) |
int udpClient_Send | ( | udp_struct * | udp, |
char * | buf, | ||
int | len | ||
) |
void udpServer_Close | ( | udp_struct * | udp | ) |
int udpServer_Init | ( | udp_struct * | udp, |
int | port, | ||
int | blocking | ||
) |
int udpServer_Receive | ( | udp_struct * | udp, |
char * | buf, | ||
int | len | ||
) |