Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check bind and listen functions for errors #686

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

jraiford1
Copy link
Contributor

When listening on a socket, if the local port is already in use it should fail, however the vm currently assumes that the listen() call is successful. This patch implements a similar check as the connect call. Note that the Windows implementation does not have this issue.

@eliotmiranda eliotmiranda merged commit 260d81b into OpenSmalltalk:Cog Jun 20, 2024
19 of 27 checks passed
@eliotmiranda
Copy link
Contributor

Looks good. Thanks Jon & welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants