mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2025-07-01 23:47:22 +00:00
rename
This commit is contained in:
parent
db575bd235
commit
9f57667bd0
@ -3,9 +3,8 @@ from winConnect import WinConnectDaemon
|
||||
connector = WinConnectDaemon('test')
|
||||
# Set header settings
|
||||
# see: https://docs.python.org/3.13/library/struct.html#format-characters
|
||||
# Default: ">L"
|
||||
# >L - Big-endian long integer (header_size: 4 bytes, max_size: 4294967295)
|
||||
connector.set_header_settings(">L")
|
||||
# Default: ">H" - Big-endian unsigned short integer (header_size: 2 bytes, max_size: 65535)
|
||||
connector.set_header_settings(">H")
|
||||
|
||||
for data in connector.listen():
|
||||
print(f"({type(data)}) {data=}")
|
Loading…
x
Reference in New Issue
Block a user