fehQlibs 26
Qlibs
|
setup sending socket More...
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "byte.h"
#include "ip.h"
#include "socket_if.h"
Go to the source code of this file.
Functions | |
int | socket_send4 (int s, const char *buf, unsigned int len, const char ip[4], uint16 port) |
int | socket_send6 (int s, const char *buf, unsigned int len, const char ip[16], uint16 port, uint32 scope_id) |
int | socket_send (int s, const char *buf, unsigned int len, const char ip[16], uint16 port, uint32 scope_id) |
int | socket_broadcast4 (int s, const char *buf, unsigned int len, uint16 port) |
setup sending socket
Definition in file socket_send.c.
int socket_broadcast4 | ( | int | s, |
const char * | buf, | ||
unsigned int | len, | ||
uint16 | port | ||
) |
int socket_send4 | ( | int | s, |
const char * | buf, | ||
unsigned int | len, | ||
const char | ip[4], | ||
uint16 | port | ||
) |
Definition at line 16 of file socket_send.c.
int socket_send6 | ( | int | s, |
const char * | buf, | ||
unsigned int | len, | ||
const char | ip[16], | ||
uint16 | port, | ||
uint32 | scope_id | ||
) |
Definition at line 29 of file socket_send.c.