Skip to content

Fix for Windows 11#16

Open
nzoschke wants to merge 1 commit intoevanpurkhiser:mainfrom
nzoschke:win
Open

Fix for Windows 11#16
nzoschke wants to merge 1 commit intoevanpurkhiser:mainfrom
nzoschke:win

Conversation

@nzoschke
Copy link
Copy Markdown

@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
Copy Markdown
Author

Possible followups

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

@eric
Copy link
Copy Markdown

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