Rev 1208 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1208 | Rev 1514 | ||
---|---|---|---|
Line 687... | Line 687... | ||
687 | mov ecx, eax ; put socket handle to ecx |
687 | mov ecx, eax ; put socket handle to ecx |
688 | ; 8b. Create sockaddr structure on the stack. |
688 | ; 8b. Create sockaddr structure on the stack. |
689 | push 0 |
689 | push 0 |
690 | push 0 ; sin_zero |
690 | push 0 ; sin_zero |
691 | push esi ; sin_addr |
691 | push esi ; sin_addr |
692 | push AF_INET + (53 shl 24) |
692 | push AF_INET + (53 shl 16) |
693 | ; sin_family and sin_port in network byte order |
693 | ; sin_family and sin_port in network byte order |
694 | ; 8c. Connect. |
694 | ; 8c. Connect. |
695 | mcall 74, 4, , esp, sizeof.sockaddr_in |
695 | mcall 74, 4, , esp, sizeof.sockaddr_in |
696 | ; 8d. Restore the stack, undo 8b. |
696 | ; 8d. Restore the stack, undo 8b. |
697 | add esp, esi |
697 | add esp, esi |