diff options
Diffstat (limited to 'include/osmocom/core/socket.h')
-rw-r--r-- | include/osmocom/core/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h index 1df28c92..6ef0912e 100644 --- a/include/osmocom/core/socket.h +++ b/include/osmocom/core/socket.h @@ -14,8 +14,11 @@ struct sockaddr; struct osmo_fd; /* flags for osmo_sock_init. */ +/*! connect the socket to a remote peer */ #define OSMO_SOCK_F_CONNECT (1 << 0) +/*! bind the socket to a local address/port */ #define OSMO_SOCK_F_BIND (1 << 1) +/*! switch socket to non-blocking mode */ #define OSMO_SOCK_F_NONBLOCK (1 << 2) int osmo_sock_init(uint16_t family, uint16_t type, uint8_t proto, |