#include <string.h>
#include "net.h"
#include "errors.h"
Functions | |
int | rcvrcmp (struct sockaddr *r1, struct sockaddr *r2) |
int | rcvrcpy (struct sockaddr *dest_rcvr, struct sockaddr *source_rcvr) |
int | rcvrsz (struct sockaddr *rcvr) |
ARTP
socket address manipulating functions.
|
Compare two socket addresses. This function is used for comparing two socket addresses. Structures are compared depending on their address family.
|
|
Copy socket address. This function copies socket address pointed by source_rcvr parameter into the place pointed by dest_rcvr parameter.
|
|
Find out the size of the socket address. This function finds out the size occupied by given socket address.
|