Timeout on PortManager is set too low and causes port bind errors
danrossi opened this issue · comments
Dan Rossi commented
I discovered a bug where UDP port check binding fails due to the low 5ms timeout. Setting it to a higher value helps avoid this issue.
Paul Gregoire commented
@danrossi thanks for the report; I'll add a property to the server, when processed will update the value if present. Otherwise it will continue to default to 5ms; anyone using this library can make the static call to change it at-will with PortManager.setSoTimeout(10)
or whatever value they prefer.
Paul Gregoire commented
Property read/set on PortManager is in the working branch now.