Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bind TCP socket, errno = 112 #774

Open
nenova opened this issue Jan 26, 2025 · 0 comments
Open

Unable to bind TCP socket, errno = 112 #774

nenova opened this issue Jan 26, 2025 · 0 comments

Comments

@nenova
Copy link

nenova commented Jan 26, 2025

In cygwin environment I have version 3.6.0 in use and works fine. I have installed (on the same PC) 3.7.3 version built with "sh build.sh -DUSE_GSL=1 -DUSE_PCAP=0 -DUSE_SSL=1". When I run a script using tcp transport it executes OK in 3.6.0, but in 3.7.3 returns an error:
`$ ./sipp.exe -sf /home/user1/sipp/scripts/uac_Register_TCP_common_port_in_Contact.xml 192.168.1.70:5060 -s 700 -r 1 -l 1 -m 1 -t t1 -p 5063
Resolving remote host '192.168.1.70'... Done.
2025-01-27 00:19:22.174955 1737933562.174955: Unable to bind TCP socket, errno = 112 (Address already in use)
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Call rate (length) Port Total-time Total-calls Remote-host
1.0(0 ms)/1.000s 5063 0.00 s 0 192.168.221.70:5060(TCP)

0 new calls during 0.000 s period 0 ms scheduler resolution
0 calls (limit 1) Peak was 0 calls, after 0 s
0 Running, 0 Paused, 0 Woken up
0 dead call msg (discarded) 0 out-of-call msg (discarded)
2 open sockets 0/0/0 TCP errors (send/recv/cong)

                             Messages  Retrans   Timeout   Unexpected-Msg

0 : REGISTER ----------> 0 0
1 : 200 <---------- 0 0 0 0
------------------------------ Test Terminated --------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2025-01-27 00:19:22.156991 1737933562.156991
Last Reset Time | 2025-01-27 00:19:22.156991 1737933562.156991
Current Time | 2025-01-27 00:19:22.176036 1737933562.176036
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:019000 | 00:00:00:019000
Call Rate | 0.000 cps | 0.000 cps
-------------------------+---------------------------+--------------------------
Incoming calls created | 0 | 0
Outgoing calls created | 0 | 0
Total Calls created | | 0
Current Calls | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 0
Failed call | 0 | 0
-------------------------+---------------------------+--------------------------
Call Length | 00:00:00:000000 | 00:00:00:000000
------------------------------ Test Terminated --------------------------------
2025-01-27 00:19:22.174955 1737933562.174955: Unable to bind TCP socket, errno = 112 (Address already in use)
`
What could be the root cause if the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant