Closed martinhpedersen closed 8 years ago
Maybe it's a timing issue? Currently, on timeout, we close the fd. What if the kernel keeps trying to connect after we have timed out?
Could it be that the kernel is waiting for an acknowledgement of the DISC packet before releasing the address?
--------- some log output ------
2015/03/10 17:42:17 Connecting to ax25:LA1B-10... 2015/03/10 17:42:59 Connected to AX.25:LA1B-10 2015/03/10 17:42:59 Exchange failed: EOF 2015/03/10 17:43:17 Connecting to ax25:LA1B-10... 2015/03/10 17:43:17 Unable to establish connection to remote: Unable to connect: address already in use 2015/03/10 17:43:21 Connecting to ax25:LA1B-10... 2015/03/10 17:43:21 Unable to establish connection to remote: Unable to connect: address already in use 2015/03/10 17:43:28 Connecting to ax25:LA1B-10... 2015/03/10 17:44:00 Connected to AX.25:LA1B-10 2015/03/10 17:44:00 Exchange failed: EOF 2015/03/10 17:45:00 Connecting to ax25:LA1B-10... 2015/03/10 17:45:02 Connected to AX.25:LA1B-10 [WL2K-2.8.5529.14476-B2FWIHJM$] Brentwood CMS via LA1B >