DMTCP
|
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <sys/select.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include "socketconnection.h"
#include "socketconnlist.h"
#include "socketwrappers.h"
#include "../jalib/jassert.h"
#include "../jalib/jfilesystem.h"
Go to the source code of this file.
Functions | |
int | socket (int domain, int type, int protocol) |
int | connect (int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen) |
int | bind (int sockfd, const struct sockaddr *my_addr, socklen_t addrlen) |
int | listen (int sockfd, int backlog) |
int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) |
int | setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
int | socketpair (int d, int type, int protocol, int sv[2]) |
int | getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) |
int | getnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) |
struct hostent * | gethostbyname (const char *name) |
struct hostent * | gethostbyaddr (const void *addr, socklen_t len, int type) |
int accept | ( | int | sockfd, |
struct sockaddr * | addr, | ||
socklen_t * | addrlen | ||
) |
Definition at line 188 of file socketwrappers.cpp.
int accept4 | ( | int | sockfd, |
struct sockaddr * | addr, | ||
socklen_t * | addrlen, | ||
int | flags | ||
) |
Definition at line 214 of file socketwrappers.cpp.
int bind | ( | int | sockfd, |
const struct sockaddr * | my_addr, | ||
socklen_t | addrlen | ||
) |
Definition at line 129 of file socketwrappers.cpp.
int connect | ( | int | sockfd, |
const struct sockaddr * | serv_addr, | ||
socklen_t | addrlen | ||
) |
Definition at line 73 of file socketwrappers.cpp.
int getaddrinfo | ( | const char * | node, |
const char * | service, | ||
const struct addrinfo * | hints, | ||
struct addrinfo ** | res | ||
) |
Definition at line 288 of file socketwrappers.cpp.
struct hostent* gethostbyaddr | ( | const void * | addr, |
socklen_t | len, | ||
int | type | ||
) |
Definition at line 323 of file socketwrappers.cpp.
struct hostent* gethostbyname | ( | const char * | name) |
Definition at line 313 of file socketwrappers.cpp.
int getnameinfo | ( | const struct sockaddr * | sa, |
socklen_t | salen, | ||
char * | host, | ||
size_t | hostlen, | ||
char * | serv, | ||
size_t | servlen, | ||
int | flags | ||
) |
Definition at line 301 of file socketwrappers.cpp.
int listen | ( | int | sockfd, |
int | backlog | ||
) |
Definition at line 148 of file socketwrappers.cpp.
int setsockopt | ( | int | sockfd, |
int | level, | ||
int | optname, | ||
const void * | optval, | ||
socklen_t | optlen | ||
) |
Definition at line 232 of file socketwrappers.cpp.
int socket | ( | int | domain, |
int | type, | ||
int | protocol | ||
) |
Definition at line 53 of file socketwrappers.cpp.
int socketpair | ( | int | d, |
int | type, | ||
int | protocol, | ||
int | sv[2] | ||
) |
Definition at line 264 of file socketwrappers.cpp.