Inheritance diagram for Ux::Socket:
Definition at line 140 of file uxsocket.hpp.
Public Member Functions | |
Socket (int f=-1, const char *p=NULL, ssize_t s=-1) | |
Socket (const char *p, ssize_t s=-1) | |
Socket | accept (SockAddr *sa=NULL) |
void | connect (const SockAddr &sa) |
void | bind (const SockAddr &sa) |
void | getpeername (SockAddr &sa) |
void | getsockname (SockAddr &sa) |
void | getsockopt (int level, int option, void *value, socklen_t &value_len) |
void | listen (int backlog=SOMAXCONN) |
ssize_t | recv (void *buffer, size_t length, int flags) |
ssize_t | recvfrom (void *buffer, size_t length, int flags, struct sockaddr *sa, socklen_t *sa_len) |
ssize_t | recvmsg (struct msghdr *message, int flags) |
ssize_t | send (const void *data, size_t length, int flags) |
ssize_t | sendmsg (const struct msghdr *message, int flags) |
ssize_t | sendto (const void *message, size_t length, int flags, const struct sockaddr *sa, socklen_t sa_len) |
void | setsockopt (int level, int option, const void *value, socklen_t value_len) |
void | shutdown (int how) |
bool | sockatmark (void) |
void | socket (int domain=AF_UNIX, int type=SOCK_STREAM, int protocol=0) |
Static Public Member Functions | |
void | socketpair (Socket sv[2], int domain=AF_UNIX, int type=SOCK_STREAM, int protocol=0) |
|
Definition at line 143 of file uxsocket.hpp. Referenced by accept(). |
|
Definition at line 146 of file uxsocket.hpp. |
|
Calls accept. Definition at line 209 of file uxsocket.cpp. References errno, Ux::File::fd, Ux::SockAddr::get_addr(), Ux::SockAddr::get_len_ptr(), and Socket(). |
|
Calls bind. Definition at line 191 of file uxsocket.cpp. References errno, Ux::File::fd, Ux::SockAddr::get_addr(), and Ux::SockAddr::get_len(). |
|
Calls connect. Definition at line 225 of file uxsocket.cpp. References errno, Ux::File::fd, Ux::SockAddr::get_addr(), and Ux::SockAddr::get_len(). |
|
Calls getpeername. Definition at line 325 of file uxsocket.cpp. References errno, Ux::File::fd, Ux::SockAddr::get_addr(), and Ux::SockAddr::get_len_ptr(). |
|
Calls getsockname. Definition at line 334 of file uxsocket.cpp. References errno, Ux::File::fd, Ux::SockAddr::get_addr(), and Ux::SockAddr::get_len_ptr(). |
|
Calls getsockopt. Definition at line 243 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls listen. Definition at line 200 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls recv. Definition at line 314 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls recvfrom. Definition at line 265 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls recvmsg. Definition at line 290 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls send. Definition at line 302 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls sendmsg. Definition at line 278 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls sendto. Definition at line 252 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls setsockopt. Definition at line 234 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls shutdown. Definition at line 356 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls sockatmark; return converted to bool. Definition at line 365 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls socket. Definition at line 182 of file uxsocket.cpp. References errno, and Ux::File::fd. |
|
Calls socketpair. Arguments rearranged so array comes first, which allows default arguments. Definition at line 343 of file uxsocket.cpp. References errno, and Ux::File::set(). |