This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via dda70fca7979d86e04bba9ba5bad32162327550c (commit)
from acd08feb8f75827555a9ef38b890870fed3388ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=dda70fca7979d86e04bba9ba5bad…
commit dda70fca7979d86e04bba9ba5bad32162327550c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Apr 8 20:52:33 2017 +0200
Add osmo_sock_init2() function, allowing both BIND *and* CONNECT
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
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/socket.h | 4 +
src/socket.c | 220 +++++++++++++++++++++++++++++++++++-------
tests/socket/socket_test.c | 52 ++++++++++
tests/socket/socket_test.err | 1 +
tests/socket/socket_test.ok | 4 +
5 files changed, 248 insertions(+), 33 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications