Skip to content

Conversation

@7DM7
Copy link

@7DM7 7DM7 commented Oct 31, 2025

No description provided.

@sourceperl
Copy link
Owner

Hi,

I don't quite understand the purpose of this merge request. What problem are you trying to solve with this code ? Because, essentially, socket.connect and socket.connect_ex do the same thing, but differently. connect throws an exception in case of an error, and ModbusClient expects this behavior. Whereas connect_ex returns an error code without raising any exception.

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