Rev 661 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 661 | Rev 1287 | ||
---|---|---|---|
Line 599... | Line 599... | ||
599 | disconnectData: |
599 | disconnectData: |
600 | ; This delay would be better done by allowing the socket code |
600 | ; This delay would be better done by allowing the socket code |
601 | ; to wait for all data to pass through the stack before closing |
601 | ; to wait for all data to pass through the stack before closing |
602 | pusha |
602 | pusha |
603 | mov eax,5 |
603 | mov eax,5 |
604 | mov ebx,200 ; Delay for 2s |
604 | mov ebx,10 ; Delay for 100ms |
605 | mcall |
605 | mcall |
606 | popa |
606 | popa |
Line 607... | Line 607... | ||
607 | 607 | ||
608 | mov eax, 53 ; Stack Interface |
608 | mov eax, 53 ; Stack Interface |
Line 659... | Line 659... | ||
659 | 659 | ||
660 | mov eax, 53 ; Stack Interface |
660 | mov eax, 53 ; Stack Interface |
661 | mov ebx, 5 ; Open TCP socket |
661 | mov ebx, 5 ; Open TCP socket |
662 | mov esi, [DataIP] ; remote IP address |
662 | mov esi, [DataIP] ; remote IP address |
663 | mov edx, [DataPort] ; remote port |
663 | mov edx, [DataPort] ; remote port |
664 | mov ecx, 20 ; ftp data port id |
664 | mov ecx, 0 ; ftp data port id |
665 | mov edi, 1 ; active open |
665 | mov edi, 1 ; active open |
666 | mcall |
666 | mcall |
Line 667... | Line 667... | ||
667 | mov [DataSocket], eax |
667 | mov [DataSocket], eax |