Subversion Repositories Kolibri OS

Rev

Rev 3545 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3545 Rev 5143
Line 113... Line 113...
113
 
113
 
Line 114... Line 114...
114
bl = 8 (set socket options)
114
bl = 8 (set socket options)
115
 
115
 
-
 
116
    in:
-
 
117
        ecx = socket number
116
    in:
118
        edx = ptr to optstruct
117
        ecx = socket number
119
 
118
        edx = level
120
  Optstruct: dd level
-
 
121
             dd optionname
Line 119... Line 122...
119
        esi = optionname
122
             dd optlength
Line 120... Line 123...
120
        edi = ptr to buffer
123
             db options...
121
 
124
 
Line 122... Line 125...
122
The buffer's first dword is the length of the buffer, minus the first dword offcourse
125
The buffer's first dword is the length of the buffer, minus the first dword offcourse
Line 123... Line 126...
123
 
126
 
124
    out:
127
    out:
125
        eax = -1 on error 
-
 
126
 
-
 
127
bl = 9 (get socket options
128
        eax = -1 on error 
128
 
-
 
129
    in:
-
 
Line -... Line 129...
-
 
129
 
-
 
130
bl = 9 (get socket options)
-
 
131
 
-
 
132
    in:
130
        ecx = socket number
133
        ecx = socket number
131
        edx = level
134
        edx = ptr to optstruct
Line -... Line 135...
-
 
135
 
-
 
136
  Optstruct: dd level
-
 
137
             dd optionname
-
 
138
             dd optlength
-
 
139
             db options...
-
 
140
    out:
-
 
141
        eax = -1 on error, socket option otherwise 
-
 
142
 
132
        esi = optionname
143
bl = 10 (get IPC socketpair)
Line 133... Line 144...
133
        edi = ptr to buffer
144