libowfat/socket/socket_udp6.c

10 lines
169 B
C

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "socket.h"
int socket_udp6(void) {
return socket(PF_INET6,SOCK_DGRAM,IPPROTO_UDP);
}