MCPcopy Create free account
hub / github.com/dermesser/libsocket / getfd

Method getfd

C++/socket.cpp:91–91  ·  view source on GitHub ↗

* @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. */

Source from the content-addressed store, hash-verified

89 * just wraps other syscalls and doesn't manipulate it using unusual ways.
90 */
91int socket::getfd(void) const { return sfd; }
92
93/**
94 * @brief Set socket options on the underlying socket.

Callers 3

add_fdMethod · 0.80
add_fdMethod · 0.80
del_fdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected