¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

SO_PRIORITY on the socket


 

Hi,

this was originally mentioned in [1] and it seems some SDRs use it. I have been using it for some time with quisk and HL2 and I haven't seen any problems. I also haven't seen any visible improvements, but it's because I have dedicated ethernet thus the packet scheduling is not an issue there. I think generally it could help

73! Jaroslav, OK2JRQ

[1]

--- a/hermes/quisk_hardware.py
+++ b/hermes/quisk_hardware.py
@@ -153,6 +153,7 @@ class Hardware(BaseHardware):
self.socket_discover = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.socket_discover.setblocking(0)
self.socket_discover.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
+ self.socket_discover.setsockopt(socket.SOL_SOCKET, socket.SO_PRIORITY, 6)
found = False
st = "No capture device found."
port = self.conf.rx_udp_port

Join [email protected] to automatically receive all group messages.