Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-08 | Add osmo_sock_init2() function, allowing both BIND *and* CONNECTlaforge/sock2 | Harald Welte | 3 | -0/+52 | |
The old osmo_sock_init() function allows only either a bind (for a server socket), or a connect (for a client socket), but not both together. So there's no way to have a client socket that is bound to a specific local IP and/or port, which is needed for some use cases. Change-Id: Idab124bcca47872f55311a82d6818aed590965e6 | |||||
2017-02-09 | cosmetic: replace fprintf with LOGP | Philipp Maier | 1 | -1/+16 | |
socket.c still uses fprintf to output error messages. This commit replaces the fprintf with proper LOGP messages. Change-Id: Ia2993415d5f5c33ccd719af239ff59252d11b764 | |||||
2017-02-08 | Add minimal testing of socket.c helper functions | Harald Welte | 3 | -0/+82 | |
Change-Id: I2773b3859a206f96fb8fa095d50a653d9eeb8d79 |