You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 647 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: John W. Small
Version: 3.02
OS: W2K
Submission from: ppp-65-91-142-145.mclass.broadwing.net (65.91.142.145)
I'm trying to rebind to a unix socket. But
shutdown doesn't unbind a previously bound socket:
I'm trying to rebind to a unix socket. But
shutdown doesn't unbind a previously bound socket:
Unix.bind socket sock_addr;
Unix.listen socket maxConnections;
...
Unix.shutdown socket Unix.SHUTDOWN_ALL;
...
Unix.bind another_socket sock_addr; (* raises bind exception *)
I believe you need to close the first socket with Unix.close. Also,
depending on whether the SO_REUSEADDR option is set or not, you may
have to wait a few seconds before being able to re-bind on the same
address.
Original bug ID: 647
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: John W. Small
Version: 3.02
OS: W2K
Submission from: ppp-65-91-142-145.mclass.broadwing.net (65.91.142.145)
I'm trying to rebind to a unix socket. But
shutdown doesn't unbind a previously bound socket:
Unix.bind socket sock_addr;
Unix.listen socket maxConnections;
...
Unix.shutdown socket Unix.SHUTDOWN_ALL;
...
Unix.bind another_socket sock_addr; (* raises bind exception *)
The text was updated successfully, but these errors were encountered: