Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/macro/eval/evalStdLib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,8 @@ module StdSocket = struct
let this = this vthis in
let host = decode_i32 host in
let port = decode_int port in
if not Globals.is_windows then
catch_unix_error Unix.setsockopt this SO_REUSEADDR true;
catch_unix_error Unix.bind this (ADDR_INET (StdHost.int32_addr host,port));
vnull
)
Expand Down
Loading