215,7 → 215,7 |
mov [eax + SOCKET.RemoteIP], edx |
mov [eax + SOCKET.rxDataCount], dword 0 ; recieved data count |
|
mov esi, [0x3010] |
mov esi, [TASK_BASE] |
mov ebx, [esi+TASKDATA.pid] |
mov [eax + SOCKET.PID], ebx ; save the process ID |
pop eax ; Get the socket number back, so we can return it |
279,7 → 279,7 |
sot_001: |
mov [eax + SOCKET.TCBState], ebx ; Indicate the state of the TCB |
|
mov esi, [0x3010] |
mov esi, [TASK_BASE] |
mov ecx, [esi+TASKDATA.pid] |
mov [eax + SOCKET.PID], ecx ; save the process ID |
|
709,7 → 709,7 |
pop eax ; get callers ptr to data to send |
|
; Get the address of the callers data |
mov edi, [0x3010] |
mov edi, [TASK_BASE] |
add edi, TASKDATA.mem_start |
add eax, [edi] |
mov esi, eax |
824,7 → 824,7 |
mov bl, 0x10 ; ACK |
|
; Get the address of the callers data |
mov edi, [0x3010] |
mov edi, [TASK_BASE] |
add edi, TASKDATA.mem_start |
add edx, [edi] |
mov esi, edx |