Skip to content

Commit

Permalink
UEDIN ack in line_packet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gldkslfmsd committed Apr 17, 2024
1 parent 8b2f7a6 commit 782d281
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions line_packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

"""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
containing:
- Zero or more bytes of UTF-8, excluding \n and \0, followed by
- 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
Expand Down

0 comments on commit 782d281

Please sign in to comment.