updated documentation for socket functions.

git-svn-id: svn://kolibrios.org@3867 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-08-10 20:02:13 +00:00
parent 6c763c9b39
commit c00422d7a2

View File

@ -4300,6 +4300,7 @@ Parameters:
* esi = protocol * esi = protocol
Returned value: Returned value:
* eax = socket number, -1 on error * eax = socket number, -1 on error
* ebx = errorcode
====================================================================== ======================================================================
============= Function 75, Subfunction 1, Close socket. ============== ============= Function 75, Subfunction 1, Close socket. ==============
@ -4310,6 +4311,7 @@ Parameters:
* ecx = socket number * ecx = socket number
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================== Function 75, Subfunction 2, Bind. ================= ================== Function 75, Subfunction 2, Bind. =================
@ -4322,6 +4324,7 @@ Parameters:
* esi = length of sockaddr structure * esi = length of sockaddr structure
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================= Function 75, Subfunction 3, Listen. ================ ================= Function 75, Subfunction 3, Listen. ================
@ -4333,6 +4336,7 @@ Parameters:
* edx = backlog * edx = backlog
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================ Function 75, Subfunction 4, Connect. ================ ================ Function 75, Subfunction 4, Connect. ================
@ -4345,6 +4349,7 @@ Parameters:
* esi = length of sockaddr structure * esi = length of sockaddr structure
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================= Function 75, Subfunction 5, Accept. ================ ================= Function 75, Subfunction 5, Accept. ================
@ -4356,7 +4361,8 @@ Parameters:
* edx = pointer to sockaddr structure * edx = pointer to sockaddr structure
* esi = length of sockaddr structure * esi = length of sockaddr structure
Returned value: Returned value:
* eax = -1 on error * eax = socket number of accepted socket, -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================== Function 75, Subfunction 6, Send. ================= ================== Function 75, Subfunction 6, Send. =================
@ -4367,8 +4373,10 @@ Parameters:
* ecx = socket number * ecx = socket number
* edx = pointer to buffer * edx = pointer to buffer
* esi = length of buffer * esi = length of buffer
* edi = flags
Returned value: Returned value:
* eax = number of bytes copied, -1 on error * eax = number of bytes copied, -1 on error
* ebx = errorcode
====================================================================== ======================================================================
================ Function 75, Subfunction 7, Receive. ================ ================ Function 75, Subfunction 7, Receive. ================
@ -4382,6 +4390,7 @@ Parameters:
* edi = flags * edi = flags
Returned value: Returned value:
* eax = number of bytes copied, -1 on error * eax = number of bytes copied, -1 on error
* ebx = errorcode
====================================================================== ======================================================================
=========== Function 75, Subfunction 8, Set socket options. ========== =========== Function 75, Subfunction 8, Set socket options. ==========
@ -4393,6 +4402,7 @@ Parameters:
* edx = pointer to optstruct * edx = pointer to optstruct
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
Remarks: Remarks:
Optstruct: dd level Optstruct: dd level
@ -4410,6 +4420,7 @@ Parameters:
* edx = pointer to optstruct * edx = pointer to optstruct
Returned value: Returned value:
* eax = -1 on error * eax = -1 on error
* ebx = errorcode
Remarks: Remarks:
Optstruct: dd level Optstruct: dd level
@ -4425,7 +4436,7 @@ Parameters:
* bl = 10 - subfunction number * bl = 10 - subfunction number
Returned value: Returned value:
* eax = socketnum1, -1 on error * eax = socketnum1, -1 on error
* ebx = socketnum2 * ebx = socketnum2, errorcode on error
Remarks: Remarks:
Optstruct: dd level Optstruct: dd level