diff --git a/programs/cmm/lib/socket.h b/programs/cmm/lib/socket.h index 0b1df403c1..476ef4b99e 100644 --- a/programs/cmm/lib/socket.h +++ b/programs/cmm/lib/socket.h @@ -7,6 +7,13 @@ inline fastcall dword OpenSocket( ECX, EDX, ESI, EDI) $int 0x40 } +inline fastcall dword CloseSocket( ECX ) +{ + $mov eax, 53 + $mov ebx, 8 + $int 0x40 +} + inline fastcall int StatusSocket( ECX) { $mov eax,53 @@ -22,6 +29,13 @@ inline fastcall dword ReadSocket( ECX) return BL; } +inline fastcall dword ReadNetworkData( ECX, EDX, ESI) +{ + $mov eax, 53 + $mov ebx, 11 + $int 0x40 +} + inline fastcall dword PollSocket( ECX) { $mov eax,53