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

MDD_TCPIPServer_Send() return value not set correctly #323

Closed
bernhard-thiele opened this issue Oct 21, 2020 · 0 comments
Closed

MDD_TCPIPServer_Send() return value not set correctly #323

bernhard-thiele opened this issue Oct 21, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@bernhard-thiele
Copy link
Collaborator

From the MDD_TCPIPServer_Send() documentation:

On success, return the number of bytes sent, 0 if operation would block, -1 on non-fatal error.

However, on success MDD_TCPIPServer_Send() instead returns -1 (both Linux and Windows).

@bernhard-thiele bernhard-thiele self-assigned this Oct 21, 2020
@bernhard-thiele bernhard-thiele added this to the v2.1.0 milestone Oct 21, 2020
bernhard-thiele added a commit to bernhard-thiele/Modelica_DeviceDrivers that referenced this issue Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant