osmo-mgw/src/libosmo-mgcp-client
Philipp Maier 3d2b76fd95 mgcp_client: refactor function init_socket
The function init_socket has an arbitrary retry count when opening the
socket. After each retry the local port is incremented by one. The
intention behind this is to find a useable local port in case the
configured port is used by another process.

The maximum number of retrys is hardcoded. The upcomming MGW pooling
patch requires to set the maximum retry count.

Change-Id: Ifd65511daa92fbe610f52da1c4c3b6a7c761d890
Related: SYS#5091
2021-08-16 16:22:31 +02:00
..
Makefile.am Bump version: 1.7.0.138-ace0b-dirty → 1.8.0 2021-02-23 18:28:45 +01:00
mgcp_client.c mgcp_client: refactor function init_socket 2021-08-16 16:22:31 +02:00
mgcp_client_endpoint_fsm.c mgcp_client_endpoint_fsm: on term, still let conns wait for DLCX OK 2021-07-15 02:28:03 +02:00
mgcp_client_fsm.c mgcp_client_fsm: add missing log_subsys 2021-07-15 02:28:03 +02:00
mgcp_client_vty.c mgcp_client_vty: remove unnecessary checks 2021-08-16 16:22:31 +02:00