janbredenbeek / QBOX

A Bulletin Board System for the Sinclair QL, now adapted for TCP/IP!
GNU General Public License v3.0
0 stars 1 forks source link

XMODEM transfers to TeraTerm fail at end #1

Open janbredenbeek opened 4 years ago

janbredenbeek commented 4 years ago

When downloading with TeraTerm, XMODEM downloads go fine until the transfer finishes with EOT, which doesn't seem to come through. QBOX DOES send an EOT but it seems to get stuck somewhere in the TCP stack. The same was observed when testing FTS-1 mail sessions. Need to investigate how the TCP device handles single character packets. QPC2 seems to be a bit more well-behaved than UQLX.

janbredenbeek commented 4 years ago

Update - changing io.sstrg with ip.send doesn't help. It seems to be an issue in the TCP driver which doesn't always send packets with a single-byte payload. No way to force this - maybe using fs.flush?