forked from KolibriOS/kolibrios
Fixed network documentation.
git-svn-id: svn://kolibrios.org@5143 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9e2a21eb61
commit
bbd90aaebc
@ -115,28 +115,39 @@ bl = 8 (set socket options)
|
|||||||
|
|
||||||
in:
|
in:
|
||||||
ecx = socket number
|
ecx = socket number
|
||||||
edx = level
|
edx = ptr to optstruct
|
||||||
esi = optionname
|
|
||||||
edi = ptr to buffer
|
Optstruct: dd level
|
||||||
|
dd optionname
|
||||||
|
dd optlength
|
||||||
|
db options...
|
||||||
|
|
||||||
The buffer's first dword is the length of the buffer, minus the first dword offcourse
|
The buffer's first dword is the length of the buffer, minus the first dword offcourse
|
||||||
|
|
||||||
out:
|
out:
|
||||||
eax = -1 on error
|
eax = -1 on error
|
||||||
|
|
||||||
bl = 9 (get socket options
|
bl = 9 (get socket options)
|
||||||
|
|
||||||
in:
|
in:
|
||||||
ecx = socket number
|
ecx = socket number
|
||||||
edx = level
|
edx = ptr to optstruct
|
||||||
esi = optionname
|
|
||||||
edi = ptr to buffer
|
|
||||||
|
|
||||||
The buffer's first dword is the length of the buffer, minus the first dword offcourse
|
|
||||||
|
|
||||||
|
Optstruct: dd level
|
||||||
|
dd optionname
|
||||||
|
dd optlength
|
||||||
|
db options...
|
||||||
out:
|
out:
|
||||||
eax = -1 on error, socket option otherwise
|
eax = -1 on error, socket option otherwise
|
||||||
|
|
||||||
|
bl = 10 (get IPC socketpair)
|
||||||
|
|
||||||
|
in:
|
||||||
|
/
|
||||||
|
out:
|
||||||
|
eax = -1 on error, socketnum1 otherwise
|
||||||
|
ebx = socketnum2
|
||||||
|
|
||||||
TIP
|
TIP
|
||||||
|
|
||||||
when you import 'network.inc' and 'macros.inc' into your source code, you can use the following syntax to work with sockets:
|
when you import 'network.inc' and 'macros.inc' into your source code, you can use the following syntax to work with sockets:
|
||||||
|
@ -4032,12 +4032,6 @@ Parameters:
|
|||||||
Returned value:
|
Returned value:
|
||||||
* eax = socketnum1, -1 on error
|
* eax = socketnum1, -1 on error
|
||||||
* ebx = socketnum2, errorcode on error
|
* ebx = socketnum2, errorcode on error
|
||||||
Remarks:
|
|
||||||
|
|
||||||
Optstruct: dd level
|
|
||||||
dd optionname
|
|
||||||
dd optlength
|
|
||||||
db options...
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=============== Function -1 - terminate thread/process ===============
|
=============== Function -1 - terminate thread/process ===============
|
||||||
|
Loading…
Reference in New Issue
Block a user