Closed crotwell closed 9 months ago
Agreed.
~In “dial-up mode” (FETCH command), only queued data is transferred. When transferring packets of all requested stations has completed, the server MUST append ASCII string END (without
~It is not allowed to send more data from server to client after END has been sent.~ → The server MUST NOT send data packets to the client after END has been sent.
¹ Is it required that the client closes connection (eg., to ensure that the client has received all data)?
I do not think that the server side closing of the connection has any affect on whether the client receives "in flight" packets as that should be handled down at the tcp stack level. Unless someone with more low level socket knowledge objects, I think we should remove and wait for the client to close connection
from that sentence. In fact it might be better for the server to send "END" and then immediately close the connection.
+1 on change
In Data Transfer section it says:
This is a little confusing. I think what is meant is that the last packet is sent, then the 3 chars
E N D
are sent.The alternative interpretation is that the
E N D
is part of the payload of the last packet, which I think is not correct. Would be good to clarify this.Suggest:
Also suggest changing:
to