UEDIN ack in line_packet.py
This commit is contained in:
parent
f32eeef4dd
commit
dcddb17de8
1 changed files with 1 additions and 2 deletions
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
"""Functions for sending and receiving individual lines of text over a socket.
|
"""Functions for sending and receiving individual lines of text over a socket.
|
||||||
|
|
||||||
Used by marian-server-server.py to communicate with the Marian worker.
|
|
||||||
|
|
||||||
A line is transmitted using one or more fixed-size packets of UTF-8 bytes
|
A line is transmitted using one or more fixed-size packets of UTF-8 bytes
|
||||||
containing:
|
containing:
|
||||||
|
|
||||||
|
|
@ -11,6 +9,7 @@ containing:
|
||||||
|
|
||||||
- Zero or more \0 bytes as required to pad the packet to PACKET_SIZE
|
- Zero or more \0 bytes as required to pad the packet to PACKET_SIZE
|
||||||
|
|
||||||
|
Originally from the UEDIN team of the ELITR project.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
PACKET_SIZE = 65536
|
PACKET_SIZE = 65536
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue