Skip to content

Conversation

@nzoschke
Copy link

@nzoschke nzoschke commented Jun 18, 2025

On a Windows 11 machine, receiving status packets is failing due to an error: A message sent on a datagram socket was larger than the internal message buffer. Increasing the packet buffer fixes it.

Fixes #15

@nzoschke
Copy link
Author

Possible followups

  • Log errors vs silently failing
  • Understand why the packet is larger than expected

@eric
Copy link

eric commented Jun 19, 2025

The standard ethernet MTU is 1500, so setting the buffer to that will likely handle any packet size that is received. If you want to be more exact, we wouldn't expect the returned amount to be more than 1472 bytes because of the overhead of the IPv4 header (20 bytes) and UDP header (8 bytes).

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.

Not getting CDJ packets on Windows

2 participants