#include <sys/types.h>
#include <sys/socket.h>
Functions | |
int | block_send (int fd, unsigned int type, char *buf, unsigned int size) |
Send a block (composition of: type, size of datablock and datablock (buf)) to a socket. More... |
|
Send a block (composition of: type, size of datablock and datablock (buf)) to a socket. WARNING: The integers (type and size; excluding fd) are only 16 bit values (0 - 65535).
|