mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 19:53:12 +03:00
Added functions for socket manipulation
git-svn-id: svn://kolibrios.org@3436 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5dd2897661
commit
b280840eb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user