Reduced the advertised TCP window size to the MSS.

This commit is contained in:
Oliver Schmidt 2018-06-10 14:47:42 +02:00
parent 9a21f96863
commit 59d86f7638

View File

@ -557,7 +557,7 @@ tcp_send_packet:
lda #ip_proto_tcp
sta tcp_vh + tcp_vh_proto
ldax #$0010 ; $1000 in network byte order
ldax #$b405 ; $05b4 (1460) in network byte order
stax tcp_outp+tcp_window_size
lda #0 ; clear checksum