Skip to content

Add non-blocking socket support and error handling in NUClearNetwork#187

Open
TrentHouliston wants to merge 2 commits intomainfrom
houliston/nonblock
Open

Add non-blocking socket support and error handling in NUClearNetwork#187
TrentHouliston wants to merge 2 commits intomainfrom
houliston/nonblock

Conversation

@TrentHouliston
Copy link
Member

This commit introduces a new function to set sockets to non-blocking mode and enhances error handling for network operations. Specifically, it throws exceptions for network errors during packet reception and sending, ensuring robust error management. The changes improve the reliability of the NUClearNetwork by preventing blocking behavior and handling potential errors gracefully.

This commit introduces a new function to set sockets to non-blocking mode and enhances error handling for network operations. Specifically, it throws exceptions for network errors during packet reception and sending, ensuring robust error management. The changes improve the reliability of the NUClearNetwork by preventing blocking behavior and handling potential errors gracefully.
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.

1 participant