(sock, last, frag)
| 248 | # Record-Marking standard support |
| 249 | |
| 250 | def sendfrag(sock, last, frag): |
| 251 | x = len(frag) |
| 252 | if last: |
| 253 | x = x | 0x80000000 |
| 254 | header = struct.pack(">I", x) |
| 255 | sock.send(header + frag) |
| 256 | |
| 257 | |
| 258 | def sendrecord(sock, record): |