* @brief Returns the socket file descriptor. * * @return The socket file descriptor of the class. * * getfd() is a getter you may use to obtain the file descriptor * for raw operations on it. It's relatively uncritical as libsocket * just wraps other syscalls and doesn't manipulate it using unusual ways. */
| 89 | * just wraps other syscalls and doesn't manipulate it using unusual ways. |
| 90 | */ |
| 91 | int socket::getfd(void) const { return sfd; } |
| 92 | |
| 93 | /** |
| 94 | * @brief Set socket options on the underlying socket. |