diff --git a/.Floppies/A2OSX.BUILD.po b/.Floppies/A2OSX.BUILD.po index 0ba9066b..f1ef5f9f 100644 Binary files a/.Floppies/A2OSX.BUILD.po and b/.Floppies/A2OSX.BUILD.po differ diff --git a/.Floppies/A2OSX.SRC.po b/.Floppies/A2OSX.SRC.po index 14b6e9d8..de75b325 100644 Binary files a/.Floppies/A2OSX.SRC.po and b/.Floppies/A2OSX.SRC.po differ diff --git a/LIB/LIBTCPIP.S.TCP.txt b/LIB/LIBTCPIP.S.TCP.txt index db9199b3..91adf7bd 100644 --- a/LIB/LIBTCPIP.S.TCP.txt +++ b/LIB/LIBTCPIP.S.TCP.txt @@ -240,19 +240,28 @@ TCP.IN.JMP.LASTACK TCP.IN.JMP.FINWT1 ldy #S.TCP.OPTIONS only accept ACK packet lda (ZPFrameInPtr),y - bit #S.TCP.OPTIONS.ACK - beq TCP.IN.JMP.FINWT2.1 + bit #S.TCP.OPTIONS.FIN + beq .8 + + ldy #S.SOCKET.TCP.O + lda #S.TCP.OPTIONS.FIN send FIN + sta (ZPPtrSKT),y + jsr TCP.IN.ACKTheFIN + bcs .9 ldy #S.SOCKET.TCP.S lda #S.SOCKET.TCP.S.FINWT2 sta (ZPPtrSKT),y + +.8 clc +.9 rts *-------------------------------------- TCP.IN.JMP.FINWT2 ldy #S.TCP.OPTIONS only accept FIN packet lda (ZPFrameInPtr),y -TCP.IN.JMP.FINWT2.1 + bit #S.TCP.OPTIONS.FIN - bne .8 + beq .8 jsr TCP.IN.ACKTheFIN bcs .9