Fresh IDE . Diff
Not logged in

This repository is a mirror!

The original is located on: https://fresh.flatassembler.net/fossil/repo/fresh
If you want to follow the project, please update your remote-url

Differences From Artifact [de151d53f9]:

To Artifact [2c2089541f]:


11
12
13
14
15
16
17
18

19
20
21
22
23
24
25
11
12
13
14
15
16
17

18
19
20
21
22
23
24
25







-
+







;
;  Notes: This library follows the rules of Berkley sockets library with some small
;         differences (for example in the return values)
;_________________________________________________________________________________________

uses wsock32, ws2_32

serrTimeout = 10060
serrTimeout = WSAETIMEDOUT




uglobal
  __wsaData WSADATA
endg
65
66
67
68
69
70
71












72
73
74
75
76
77
78
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90







+
+
+
+
+
+
+
+
+
+
+
+









body SocketCreate
begin
        push    ecx edx
        invoke  socket, [.protocol_family], [.socket_type], [.protocol]
        call    __SocketError
        pop     edx ecx
        return
endp


body SocketShutDown
begin
        push    ecx edx

        invoke  shutdown, [.hSocket], SD_BOTH
        call    __SocketError

        pop     edx ecx
        return
endp



body SocketClose