Added functions for socket manipulation

git-svn-id: svn://kolibrios.org@3436 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
esevece 2013-03-31 23:49:23 +00:00
parent 5dd2897661
commit b280840eb3

View File

@ -7,6 +7,13 @@ inline fastcall dword OpenSocket( ECX, EDX, ESI, EDI)
$int 0x40 $int 0x40
} }
inline fastcall dword CloseSocket( ECX )
{
$mov eax, 53
$mov ebx, 8
$int 0x40
}
inline fastcall int StatusSocket( ECX) inline fastcall int StatusSocket( ECX)
{ {
$mov eax,53 $mov eax,53
@ -22,6 +29,13 @@ inline fastcall dword ReadSocket( ECX)
return BL; return BL;
} }
inline fastcall dword ReadNetworkData( ECX, EDX, ESI)
{
$mov eax, 53
$mov ebx, 11
$int 0x40
}
inline fastcall dword PollSocket( ECX) inline fastcall dword PollSocket( ECX)
{ {
$mov eax,53 $mov eax,53