macOS tcp-accept
blocks when compiled to standalone executable
#4852
Labels
tcp-accept
blocks when compiled to standalone executable
#4852
What version of Racket are you using?
8.10 CS
What program did you run?
Assume the server has the IP address of
255.255.255.255
.server.rkt (MacOS -- see OS details at the bottom):
client.rkt (Linux (Arch)):
Expected behaviour:
The connection resolves.
Observed behaviour:
When
server.rkt
is run on MacOS with the commandracket server.rkt
, andclient.rkt
is run on Linux with the commandracket client.rkt
, the connection resolves.When
server.rkt
is compiled to an executable with one of the following three shell commands:and then run with
./server
, andclient.rkt
is run (either compiled to an executable or run directly with theracket
shell command, thentcp-accept
hangs, looping forever.This behaviour is not observed if Linux runs
server.rkt
, either compiled to an executable or run directly with theracket
shell command. It is also not observed if we runraco make server.rkt
andracket server.rkt
.Please include any other relevant details
Possible issues:
CC @AndreyPiterkin
MacOS:
The text was updated successfully, but these errors were encountered: