loentar / axis2c-unofficial

Unofficial backports and unofficial support for Apache Axis2/C
Apache License 2.0
15 stars 10 forks source link

Check and close socket before assigning new value #12

Closed poppedcorn closed 9 years ago

poppedcorn commented 9 years ago

To prevent orphaned sockets check that the previous client socket is closed and cleared. Was causing port exhaustion under Windows by leaving sockets in CLOSE_WAIT state.