mirror of https://git.48k.eu/ogclient
ogClient: open event socket in live mode
Listen for event datagrams at UDP port 55885 in live mode too. The same as when running Linux or Windows mode.more_events
parent
457a912749
commit
1e92aa4262
|
@ -33,7 +33,7 @@ class ogClient:
|
|||
if self.mode not in {'virtual', 'live', 'linux', 'windows'}:
|
||||
logging.critical('Invalid ogClient mode')
|
||||
raise ValueError('Mode not supported.')
|
||||
if self.mode in {'linux', 'windows'}:
|
||||
if self.mode in {'linux', 'windows', 'live'}:
|
||||
self.event_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
self.event_sock.setblocking(0)
|
||||
self.event_sock.bind(('127.0.0.1', 55885))
|
||||
|
|
Loading…
Reference in New Issue