Skip to content

Conversation

@Fijxu
Copy link
Member

@Fijxu Fijxu commented Nov 18, 2025

This replaces the deprecated argument blocking and uses Socket.set_blocking(fd, value) instead.
Fixes a warning in the compiler for Crystal >=1.18.0.

crystal-lang/crystal#16033

This replaces the deprecated argument `blocking` and uses
`Socket.set_blocking(fd, value)` instead.

Fixes a warning in the compiler

crystal-lang/crystal#16033
@unixfox unixfox requested a review from syeopite November 18, 2025 16:09
Comment on lines +8 to +9
super(addrinfo.family, addrinfo.type, addrinfo.protocol)
Socket.set_blocking(self.fd, blocking)
Copy link
Member

@SamantazFox SamantazFox Nov 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants