class PosixCalls
Defined at line 11 of file ../../src/connectivity/network/tools/sockscripter/main.cc
Bind all api abstractions to real posix calls.
Public Methods
int socket (intdomain,inttype,intprotocol)
Defined at line 13 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int close (int fd)
Defined at line 26 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int setsockopt (intfd,intlevel,intoptname,const void *optval,socklen_toptlen)
Defined at line 28 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int getsockopt (intfd,intlevel,intoptname,void *optval,socklen_t *optlen)
Defined at line 32 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int bind (intfd,const struct sockaddr *addr,socklen_tlen)
Defined at line 36 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int shutdown (int fd, int how)
Defined at line 40 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int connect (intfd,const struct sockaddr *addr,socklen_tlen)
Defined at line 42 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int accept (intfd,struct sockaddr *addr,socklen_t *len)
Defined at line 46 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int listen (int fd, int backlog)
Defined at line 50 of file ../../src/connectivity/network/tools/sockscripter/main.cc
ssize_t send (intfd,const void *buf,size_tlen,intflags)
Defined at line 52 of file ../../src/connectivity/network/tools/sockscripter/main.cc
ssize_t sendto (intfd,const void *buf,size_tbuflen,intflags,const struct sockaddr *addr,socklen_taddrlen)
Defined at line 61 of file ../../src/connectivity/network/tools/sockscripter/main.cc
ssize_t recv (intfd,void *buf,size_tlen,intflags)
Defined at line 72 of file ../../src/connectivity/network/tools/sockscripter/main.cc
ssize_t recvfrom (intfd,void *buf,size_tbuflen,intflags,struct sockaddr *addr,socklen_t *addrlen)
Defined at line 76 of file ../../src/connectivity/network/tools/sockscripter/main.cc
ssize_t recvmsg (intfd,struct msghdr *msg,intflags)
Defined at line 81 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int getsockname (intfd,struct sockaddr *addr,socklen_t *len)
Defined at line 85 of file ../../src/connectivity/network/tools/sockscripter/main.cc
int getpeername (intfd,struct sockaddr *addr,socklen_t *len)
Defined at line 89 of file ../../src/connectivity/network/tools/sockscripter/main.cc
unsigned int if_nametoindex (const char * ifname)
Defined at line 93 of file ../../src/connectivity/network/tools/sockscripter/main.cc