Dominik Macháček
commited on
Commit
·
dcddb17
1
Parent(s):
f32eeef
UEDIN ack in line_packet.py
Browse files- line_packet.py +1 -2
line_packet.py
CHANGED
|
@@ -2,8 +2,6 @@
|
|
| 2 |
|
| 3 |
"""Functions for sending and receiving individual lines of text over a socket.
|
| 4 |
|
| 5 |
-
Used by marian-server-server.py to communicate with the Marian worker.
|
| 6 |
-
|
| 7 |
A line is transmitted using one or more fixed-size packets of UTF-8 bytes
|
| 8 |
containing:
|
| 9 |
|
|
@@ -11,6 +9,7 @@ containing:
|
|
| 11 |
|
| 12 |
- Zero or more \0 bytes as required to pad the packet to PACKET_SIZE
|
| 13 |
|
|
|
|
| 14 |
"""
|
| 15 |
|
| 16 |
PACKET_SIZE = 65536
|
|
|
|
| 2 |
|
| 3 |
"""Functions for sending and receiving individual lines of text over a socket.
|
| 4 |
|
|
|
|
|
|
|
| 5 |
A line is transmitted using one or more fixed-size packets of UTF-8 bytes
|
| 6 |
containing:
|
| 7 |
|
|
|
|
| 9 |
|
| 10 |
- Zero or more \0 bytes as required to pad the packet to PACKET_SIZE
|
| 11 |
|
| 12 |
+
Originally from the UEDIN team of the ELITR project.
|
| 13 |
"""
|
| 14 |
|
| 15 |
PACKET_SIZE = 65536
|