From ff60be3726fc766e27ad7d5890b11405b8c70041 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 8 Apr 2017 20:52:33 +0200 Subject: 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 --- tests/socket/socket_test.err | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/socket/socket_test.err') diff --git a/tests/socket/socket_test.err b/tests/socket/socket_test.err index 5367239c..ed6e1865 100644 --- a/tests/socket/socket_test.err +++ b/tests/socket/socket_test.err @@ -1 +1,2 @@ invalid: both bind and connect flags set: 0.0.0.0:0 +invalid: you have to specify either BIND or CONNECT flags -- cgit v1.2.3