Check-in [5e1458a965]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Changed a little the error handling of SocketAccept.
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: 5e1458a965a0fe12f9badd000655114ed491f664
User & Date: johnfound 2015-12-17 15:21:48
Context
2015-12-17
15:21
Changed a little the error handling of SocketAccept. Leaf check-in: 5e1458a965 user: johnfound tags: trunk
2015-12-10
14:36
Mainly added some debug output code in order to diagnose problems with KolibriOS port. check-in: c30e7bfb66 user: johnfound tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to phWeb/sockets.asm.

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
        DebugMsg "SocketListen failed."
        stdcall FileWriteString, [STDERR], cListensBroke
        jmp     .exit_s

.accepterr:
        DebugMsg "SocketAccept failed."
        stdcall FileWriteString, [STDERR], cAcceptsBroke
;        jmp     .doAccept

        jmp     .exit_s
endp


cSocksBroke   text  'ERROR: SocketCreate failed!', 10
cBindsBroke   text  'ERROR: SocketBind failed!', 10







|







96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
        DebugMsg "SocketListen failed."
        stdcall FileWriteString, [STDERR], cListensBroke
        jmp     .exit_s

.accepterr:
        DebugMsg "SocketAccept failed."
        stdcall FileWriteString, [STDERR], cAcceptsBroke
        jmp     .doAccept

        jmp     .exit_s
endp


cSocksBroke   text  'ERROR: SocketCreate failed!', 10
cBindsBroke   text  'ERROR: SocketBind failed!', 10