Default UDP port to something #3

Closed
opened 2025-10-04 16:49:04 +00:00 by w1cdn · 3 comments
Owner

Part of #1, can't have optional arguments so provide defaults.

If you change the port from 9999 or 0 or something, then enable passing UDP.

Part of #1, can't have optional arguments so provide defaults. If you change the port from 9999 or 0 or something, then enable passing UDP.
w1cdn changed title from Default UDP port to 9999 to Default UDP port to something 2025-10-05 03:44:46 +00:00
Author
Owner

Needs to be less than 65,535, so I picked 55555 as a meaningless default.

Need to fix this logic though: #1 (comment)

Needs to be less than 65,535, so I picked `55555` as a meaningless default. Need to fix this logic though: https://gitea.farpn.net/w1cdn/mwtchahrd/pulls/1#issuecomment-15
Author
Owner

Closed in #1.

Closed in #1.
Author
Owner

Instead of doing this roundabout stuff to make UDP work, could just pass a JSON object with the parameters as text inside the argument. Probably not as clean?

Instead of doing this roundabout stuff to make UDP work, could just pass a JSON object with the parameters as text inside the argument. Probably not as clean?
w1cdn closed this issue 2025-10-17 21:51:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: w1cdn/mwtchahrd#3