#include <sys/time.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include "udp.h"
Go to the source code of this file.
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 | ||
) |