[Sipsak] TCP socket binding failed: Address already in use

tzieleniewski tzieleniewski at o2.pl
Sat Feb 24 13:43:40 CET 2007


Hi!!

I am using sipsak to test my sip proxy and after I run a test and then try to run it once again I get the following error:TCP socket binding failed: Address already in use. It is visible that after the competition of the test the tcp socket connection is not closing properly:
ser at tomix:~/sipsak$ netstat | grep 6060
tcp        0      0 tomix:6060              tomix:sip               TIME_WAIT

So I can run other test after a timeout on tcp socket.

Is it a bug or I missed something??

ser at tomix:~/sipsak$ sipsak -U -v -s sip:testser at tezet.no-ip.org -C sip:testser at 192.168.1.2 -l 6060 -a testser
warning: ignoring -i option when in usrloc mode

checking message for completness...
message is complete

checking message for completness...
message is complete

All usrloc tests completed successful.
received last message 184.167 ms after first request (test duration).

ser at tomix:~/sipsak$ sipsak -U -v -s sip:testser at tezet.no-ip.org -C sip:testser at 192.168.1.2 -l 6060 -a testser
warning: ignoring -i option when in usrloc mode
TCP socket binding failed: Address already in use

Cheers
-tomasz


More information about the Sipsak mailing list