1 #ifndef LIBSOCKET_UNIXDGRAM_H_B1DCD9EE9E7E4B379FD5FCA79EF4B63F 2 #define LIBSOCKET_UNIXDGRAM_H_B1DCD9EE9E7E4B379FD5FCA79EF4B63F 47 ssize_t
sndto(
const void* buf,
size_t length,
const char* path,
48 int sendto_flags = 0);
49 ssize_t
sndto(
const void* buf,
size_t length,
const string& path,
50 int sendto_flags = 0);
52 ssize_t
sndto(
const string& buf,
const string& path,
int sendto_flags = 0);
54 ssize_t
rcvfrom(
void* buf,
size_t length,
char* source,
size_t source_len,
55 int recvfrom_flags = 0);
56 ssize_t
rcvfrom(
void* buf,
size_t length,
string& source,
57 int recvfrom_flags = 0);
59 ssize_t
rcvfrom(
string& buf,
string& source,
int recvfrom_flags = 0);
Contains libsocket elements.
ssize_t sndto(const void *buf, size_t length, const char *path, int sendto_flags=0)
Send data to datagram socket.
Base class for all UNIX socket classes.
Generic class for all UNIX datagram (DGRAM) sockets, implementing i/o functions.
ssize_t rcvfrom(void *buf, size_t length, char *source, size_t source_len, int recvfrom_flags=0)
Receive data and store the sender's address.