ObjFW  History of src/OFSocket.h of 23951a9f6b564389

History of the file that is called src/OFSocket.h at check-in 23951a9f6b564389

2024-05-01
16:47
[8867f799f7] part of check-in [570f747545] Merge trunk into branch "sctp" (check-in: [570f747545] user: js, branch: sctp, size: 13047) [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
[48d578681c] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 12983) [annotate] [blame] [check-ins using] [diff]
2024-04-28
18:15
[1c856b0040] part of check-in [bd2d723910] Merge trunk into branch "sctp" (check-in: [bd2d723910] user: js, branch: sctp, size: 12915) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[5622251aeb] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 12851) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[ced8883954] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 12266) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[aea5f61629] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 12643) [annotate] [blame] [check-ins using] [diff]
2023-10-22
21:47
[0e7b6e8e00] part of check-in [b64b8e3b3f] Fix OFSocketAddressString() for AppleTalk (check-in: [b64b8e3b3f] user: js, branch: 1.0, size: 12266) [annotate] [blame] [check-ins using] [diff]
21:45
[346d4cc46a] part of check-in [a8c9d73327] Add OFSocketAddressDescription() (check-in: [a8c9d73327] user: js, branch: trunk, size: 12643) [annotate] [blame] [check-ins using] [diff]
2023-08-09
22:39
[39b53adb69] part of check-in [772e8b8f78] OFValue: Improve -[description] (check-in: [772e8b8f78] user: js, branch: trunk, size: 12270) [annotate] [blame] [check-ins using] [diff]
2023-07-16
17:53
[ef7090ccb7] part of check-in [36c65b8468] OFUNIXDatagramSocket: Allow binding to nil path (check-in: [36c65b8468] user: js, branch: trunk, size: 12254) [annotate] [blame] [check-ins using] [diff]
2023-05-20
20:54
[413740135d] part of check-in [79c5eeefcc] OFSocketAddressString: Add AppleTalk support (check-in: [79c5eeefcc] user: js, branch: trunk, size: 12264) [annotate] [blame] [check-ins using] [diff]
2023-05-07
11:47
[12afd4de67] part of check-in [e3cecb9f08] Fix compilation on newer FreeBSD (check-in: [e3cecb9f08] user: js, branch: trunk, size: 12246) [annotate] [blame] [check-ins using] [diff]
2023-05-03
22:31
[fe9418cd06] part of check-in [01355ad851] Make IPX sockets compile on FreeBSD 10 (check-in: [01355ad851] user: js, branch: trunk, size: 12238) [annotate] [blame] [check-ins using] [diff]
2023-04-22
17:47
[a60f73c777] part of check-in [19ace65ba8] Make sure the ABI of OFSocketAddress stays stable (check-in: [19ace65ba8] user: js, branch: trunk, size: 12098) [annotate] [blame] [check-ins using] [diff]
2023-04-16
21:44
[3c58ebd4cf] part of check-in [9af6b18d87] Work around s_net already being defined on Solaris (check-in: [9af6b18d87] user: js, branch: trunk, size: 11922) [annotate] [blame] [check-ins using] [diff]
2023-04-15
17:30
[755345bacd] part of check-in [ccb53db0d8] OFDDPSocket: Add support for configuring AppleTalk (check-in: [ccb53db0d8] user: js, branch: trunk, size: 11939) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[5d7e2b8fd9] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 11939) [annotate] [blame] [check-ins using] [diff]
2022-11-06
23:56
[20d2252a0a] part of check-in [9cb5c92f04] Merge trunk into branch "sctp" (check-in: [9cb5c92f04] user: js, branch: sctp, size: 12003) [annotate] [blame] [check-ins using] [diff]
23:52
[5b9fa1cfea] part of check-in [425762ff70] Merge trunk into branch "sctp" (check-in: [425762ff70] user: js, branch: sctp, size: 8544) [annotate] [blame] [check-ins using] [diff]
2022-10-31
21:41
[18fc1aa593] part of check-in [019ff77f50] Check for and use <netat/appletalk.h> (check-in: [019ff77f50] user: js, branch: trunk, size: 11939) [annotate] [blame] [check-ins using] [diff]
2022-10-30
18:58
[fc6ec6273c] part of check-in [0b4f713964] Remove AppleTalk support again

It seems that neither Windows nor macOS support DDP sockets, but only
the layers on top, while neither Linux nor NetBSD support the layers on
top, but only provide DDP.

It seems that DDP is not meant to be used directly, while Linux and
NetBSD only provide the minimum to use netatalk, which is DDP. ObjFW
would need to use the layers on top on Windows and macOS and implement
those layers itself on Linux and NetBSD. This also means that no code
would be shared between Linux / NetBSD and Windows / macOS, as it's
impossible to have one implementation that works for everything. At this
point, the effort required doesn't make sense. (check-in: [0b4f713964] user: js, branch: trunk, size: 9155) [annotate] [blame] [check-ins using] [diff]

2022-10-22
22:37
[77a6b954f7] part of check-in [9934ed3ac2] Fix compilation for systems without sockaddr_at (check-in: [9934ed3ac2] user: js, branch: trunk, size: 11862) [annotate] [blame] [check-ins using] [diff]
18:46
[990896e9f7] part of check-in [d1c9ed8498] Merge trunk into branch "appletalk" (check-in: [d1c9ed8498] user: js, branch: appletalk, size: 11851) [annotate] [blame] [check-ins using] [diff]
18:41
[e6bf54de5e] part of check-in [a54730b88f] OFSocket: Don't combine port for IP and IPX

While it works for those two protocols, it's a bad precedent as other
protocols have different types for ports. (check-in: [a54730b88f] user: js, branch: trunk, size: 9155) [annotate] [blame] [check-ins using] [diff]

18:21
[24521aefe5] part of check-in [ec6ee4c269] Merge trunk into branch "appletalk" (check-in: [ec6ee4c269] user: js, branch: appletalk, size: 10852) [annotate] [blame] [check-ins using] [diff]
16:41
[ed92d6e459] part of check-in [b29f11ed25] OF[IS]PX(Stream)Socket: Bind with network & node (check-in: [b29f11ed25] user: js, branch: trunk, size: 8709) [annotate] [blame] [check-ins using] [diff]
13:49
[9f4f0632e4] part of check-in [6d7be6020e] OFSocket: Add support for AppleTalk (check-in: [6d7be6020e] user: js, branch: appletalk, size: 10849) [annotate] [blame] [check-ins using] [diff]
2022-10-14
19:46
[6ae41ef6ce] part of check-in [ee3632817a] Document more exceptions (check-in: [ee3632817a] user: js, branch: trunk, size: 8706) [annotate] [blame] [check-ins using] [diff]
2022-08-06
21:14
[0929d955af] part of check-in [25adea9a23] Don't use struct sockaddr in OFSocketAddress

struct sockaddr can contain a variable length array, which breaks the
union. (check-in: [25adea9a23] user: js, branch: trunk, size: 8480) [annotate] [blame] [check-ins using] [diff]

14:43
[e523ef42af] part of check-in [ccc6a77c55] Reorder node and network of IPX sockets

This is more standard, albeit -[connectToNetwork:node:port:] sounding a
little bit more like you connect to a network rather than a node. (check-in: [ccc6a77c55] user: js, branch: trunk, size: 8749) [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
[fb1a5b55eb] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 8754) [annotate] [blame] [check-ins using] [diff]
2022-01-29
22:00
[064208fd7e] part of check-in [1fba563718] Fix redefinition of struct sockaddr_un on MiNT (check-in: [1fba563718] user: js, branch: trunk, size: 8754) [annotate] [blame] [check-ins using] [diff]
2021-10-24
18:11
[65bba562bd] part of check-in [d5373ff70f] Enable UNIX sockets on Windows

Windows 10 supports UNIX sockets since Insider Preview Build 17063, but
only SOCK_STREAM. (check-in: [d5373ff70f] user: js, branch: unix-sockets, size: 8733) [annotate] [blame] [check-ins using] [diff]

16:07
[19afd95fa7] part of check-in [2f49b4aec2] Don't try to use UNIX sockets on MorphOS (check-in: [2f49b4aec2] user: js, branch: unix-sockets, size: 8681) [annotate] [blame] [check-ins using] [diff]
13:40
[b11ec9bdab] part of check-in [55aa600e97] Merge trunk into branch "unix-sockets" (check-in: [55aa600e97] user: js, branch: unix-sockets, size: 8651) [annotate] [blame] [check-ins using] [diff]
2021-04-30
23:06
Renamed src/socket.h → src/OFSocket.h. [a9f231c148] part of check-in [a82e7f4b3d] Merge trunk into branch "sctp" (check-in: [a82e7f4b3d] user: js, branch: sctp, size: 7836) [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
[2b4aae9d25] part of check-in [2fcf5a3052] Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. (check-in: [2fcf5a3052] user: js, branch: trunk, size: 7772) [annotate] [blame] [check-ins using] [diff]

2021-04-25
20:22
Renamed src/socket.h → src/OFSocket.h. [789ea6a8ed] part of check-in [fb40f7048d] Merge trunk into branch "unix-sockets" (check-in: [fb40f7048d] user: js, branch: unix-sockets, size: 8691) [annotate] [blame] [check-ins using] [diff]
2021-04-18
23:18
[f49763d210] part of check-in [4b587c8874] INVALID_SOCKET -> OFInvalidSocketHandle (check-in: [4b587c8874] user: js, branch: new-naming-convention, size: 7812) [annotate] [blame] [check-ins using] [diff]
22:56
[4e8739b8a5] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 7688) [annotate] [blame] [check-ins using] [diff]
20:51
Renamed src/socket.h → src/OFSocket.h. [49c6656be8] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 7701) [annotate] [blame] [check-ins using] [diff]
2021-04-17
15:45
[41000fbbd6] part of check-in [cc3a4a7b43] of_tlskey_t -> OFTLSKey (check-in: [cc3a4a7b43] user: js, branch: new-naming-convention, size: 7718) [annotate] [blame] [check-ins using] [diff]
13:58
[5c14e5d604] part of check-in [e3c5bb70dd] of_socket_address_t -> OFSocketAddress (check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 7724) [annotate] [blame] [check-ins using] [diff]
12:32
[3e36de663a] part of check-in [d3fb3e902d] Rename of_socket_address_family_t (check-in: [d3fb3e902d] user: js, branch: new-naming-convention, size: 8068) [annotate] [blame] [check-ins using] [diff]
12:30
[8d3ff16b96] part of check-in [c4ae62dd34] of_socket_t -> OFSocketHandle (check-in: [c4ae62dd34] user: js, branch: new-naming-convention, size: 8078) [annotate] [blame] [check-ins using] [diff]
2021-04-05
17:55
[fc728b1db0] part of check-in [21a21f6a6b] socket.h: Add sa_family_t typedef on Windows (check-in: [21a21f6a6b] user: js, branch: unix-sockets, size: 9022) [annotate] [blame] [check-ins using] [diff]
16:30
[e6e5016044] part of check-in [1db6618bb9] Add support for UNIX socket addresses (check-in: [1db6618bb9] user: js, branch: unix-sockets, size: 8969) [annotate] [blame] [check-ins using] [diff]
2021-03-30
21:23
[354df70c5d] part of check-in [564d6d6b6f] Merge trunk into 1.0 branch (check-in: [564d6d6b6f] user: js, branch: 1.0, size: 8069) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[07f169cd19] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 8133) [annotate] [blame] [check-ins using] [diff]
2020-12-22
20:19
[91d122f865] part of check-in [62edb405b9] Merge trunk into 1.0 branch (check-in: [62edb405b9] user: js, branch: 1.0, size: 8158) [annotate] [blame] [check-ins using] [diff]
2020-12-18
10:52
[4c95dee7a0] part of check-in [7ab180e9b6] Remove support for ixemul on MorphOS

ixemul is quite buggy and the native support we have for MorphOS is far
superior. (check-in: [7ab180e9b6] user: js, branch: trunk, size: 8222) [annotate] [blame] [check-ins using] [diff]

10:45
[a0b49c9437] part of check-in [98c3748090] Merge trunk into 1.0 branch (check-in: [98c3748090] user: js, branch: 1.0, size: 8214) [annotate] [blame] [check-ins using] [diff]
2020-12-06
17:49
[fc5416a7db] part of check-in [b45a563f2b] Use a single global socket base on MorphOS

MorphOS allows sharing a single socket base between tasks, so having a
per-task socket base is unnecessary. (check-in: [b45a563f2b] user: js, branch: trunk, size: 8278) [annotate] [blame] [check-ins using] [diff]

2020-11-12
00:45
[60ba1d23a0] part of check-in [a1163fb58b] Merge trunk into 1.0 branch (check-in: [a1163fb58b] user: js, branch: 1.0, size: 8166) [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
[750c66c5d1] part of check-in [aeb403a1ed] OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (check-in: [aeb403a1ed] user: js, branch: trunk, size: 8230) [annotate] [blame] [check-ins using] [diff]

2020-10-04
14:39
[428cdb07e3] part of check-in [a9f08709d2] Merge trunk into 1.0 branch (check-in: [a9f08709d2] user: js, branch: 1.0, size: 8161) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[5c636947ff] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 8225) [annotate] [blame] [check-ins using] [diff]
2020-05-05
01:14
[b3045e055c] part of check-in [4592b16fab] Add OFSCTPSocket (check-in: [4592b16fab] user: js, branch: trunk, size: 8225) [annotate] [blame] [check-ins using] [diff]
2020-05-02
15:25
[ada6e256da] part of check-in [6a6f7fb146] OFSPXSocket: Make async connect work (check-in: [6a6f7fb146] user: js, branch: trunk, size: 8161) [annotate] [blame] [check-ins using] [diff]
2020-04-26
10:56
[f684cec31b] part of check-in [2ff4218405] Replace of_socket_address_ipx_get()

Instead, provide getters and setters for the various address parts. (check-in: [2ff4218405] user: js, branch: trunk, size: 8156) [annotate] [blame] [check-ins using] [diff]

2020-04-25
23:02
[797887223d] part of check-in [4a5822e7c0] Add OFIPXSocket (check-in: [4a5822e7c0] user: js, branch: trunk, size: 7382) [annotate] [blame] [check-ins using] [diff]
2020-04-12
12:52
[f8e3143cfa] part of check-in [d35b4e3a85] Work around broken -Wdocumentation in Clang 10 (check-in: [d35b4e3a85] user: js, branch: trunk, size: 5984) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[d2c0976e15] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 5936) [annotate] [blame] [check-ins using] [diff]
2019-08-11
18:56
[a943bd03d9] part of check-in [a40f3fc829] Support sockets in multiple threads on AmigaOS (check-in: [a40f3fc829] user: js, branch: trunk, size: 5933) [annotate] [blame] [check-ins using] [diff]
2019-05-05
22:29
[dca04b58ae] part of check-in [a407b8b2b7] socket.h: Add typedefs missing on MorphOS (check-in: [a407b8b2b7] user: js, branch: trunk, size: 5590) [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:16
[2b0e7e9e52] part of check-in [4c5f686a52] OFWindowsRegistryKey: Add write support (check-in: [4c5f686a52] user: js, branch: trunk, size: 5534) [annotate] [blame] [check-ins using] [diff]
2019-01-07
22:59
[e3ee93c786] part of check-in [ab89c47f42] Partially fix sockets on Nintendo 3DS/Wii

This does not fully fix it yet, but at least the socket tests in the
test suite pass on 3DS now. (check-in: [ab89c47f42] user: js, branch: trunk, size: 5651) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[975b336f99] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 5616) [annotate] [blame] [check-ins using] [diff]
2018-12-18
21:17
[0d7cd9ede1] part of check-in [0f3ae90eef] Use OFData instead of a buffer for async UDP sends

This avoids the entire problem of keeping the buffer alive until the
send finished. (check-in: [0f3ae90eef] user: js, branch: trunk, size: 5610) [annotate] [blame] [check-ins using] [diff]

2018-10-07
02:06
[949bb8ad8d] part of check-in [6e9ee122eb] Remove resolver.m

Instead, OFDNSResolver is used for everything now. (check-in: [6e9ee122eb] user: js, branch: trunk, size: 5555) [annotate] [blame] [check-ins using] [diff]

2018-09-10
20:44
[2431bf7b16] part of check-in [8555d64ee6] OFDNSResolver: Method to resolve host to addresses

This provides more convenience when the goal is to connect a socket and
provides functionality similar to getaddrinfo().

No support for resolving CNAMEs yet - this will be the next step. (check-in: [8555d64ee6] user: js, branch: trunk, size: 5249) [annotate] [blame] [check-ins using] [diff]

2018-08-26
18:39
[0a5ee032af] part of check-in [bed2db0fd3] Fix compilation for Wii

This pretends that net_getsockopt() exists, which it does not yet. As
soon as it lands in libogc, this will work again. (check-in: [bed2db0fd3] user: js, branch: trunk, size: 5125) [annotate] [blame] [check-ins using] [diff]

2018-08-14
00:26
[acbe13b260] part of check-in [fbfe80e8fa] Minor documentation fixes (check-in: [fbfe80e8fa] user: js, branch: trunk, size: 5125) [annotate] [blame] [check-ins using] [diff]
2018-08-11
21:53
[0b7ecc62d1] part of check-in [9a494f183b] Fix build on 3DS and Wii (check-in: [9a494f183b] user: js, branch: trunk, size: 5148) [annotate] [blame] [check-ins using] [diff]
14:00
[d1393543d0] part of check-in [8f810ecb7e] Change the layout of of_socket_address_t

Instead of containing a struct sockaddr_storage - which does not exist
on all supported platforms - it now contains a union of all struct
sockaddr_* types.

Additionally, if struct sockaddr_in6 does not exist, it is defined so
that an IPv6 can be stored even if the system does not support IPv6. (check-in: [8f810ecb7e] user: js, branch: trunk, size: 5102) [annotate] [blame] [check-ins using] [diff]

2018-08-06
22:34
[232e64699e] part of check-in [ab9810ef69] socket.m: Replace inet_{ntop,pton} with own impl

Not all OSes supported by ObjFW provide them. (check-in: [ab9810ef69] user: js, branch: trunk, size: 4355) [annotate] [blame] [check-ins using] [diff]

2018-08-05
20:00
[f9393485f9] part of check-in [4f49f55859] Add a few missing casts (check-in: [4f49f55859] user: js, branch: trunk, size: 3726) [annotate] [blame] [check-ins using] [diff]
2018-07-28
20:21
[2892632dc8] part of check-in [8aeee6680a] Add of_socket_address_ip_string()

This replaces of_address_to_string_and_port(). (check-in: [8aeee6680a] user: js, branch: trunk, size: 3792) [annotate] [blame] [check-ins using] [diff]

18:29
[b7c9f96c1f] part of check-in [2a1546da86] Add of_socket_address_parse_ip() (check-in: [2a1546da86] user: js, branch: trunk, size: 3347) [annotate] [blame] [check-ins using] [diff]
17:38
[01ae00b901] part of check-in [b16f2b9e25] Rename of_{udp_ -> }socket_address (check-in: [b16f2b9e25] user: js, branch: trunk, size: 3054) [annotate] [blame] [check-ins using] [diff]
2018-04-22
16:13
[31842887c2] part of check-in [fe2cbe0021] runtime: Define BOOL to be the same as bool

As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.

This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. (check-in: [fe2cbe0021] user: js, branch: trunk, size: 2233) [annotate] [blame] [check-ins using] [diff]

2018-03-10
19:43
[e4ca2499ce] part of check-in [3924c79b73] socket.h: Provide sockaddr_storage on AmigaOS 4 (check-in: [3924c79b73] user: js, branch: trunk, size: 2362) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[a0aaae51cb] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 2337) [annotate] [blame] [check-ins using] [diff]
2017-10-22
14:09
[ea1fed378b] part of check-in [31c0f5b89e] Make Apple GCC with -Wshadow happy (check-in: [31c0f5b89e] user: js, branch: 0.90, size: 2314) [annotate] [blame] [check-ins using] [diff]
2017-06-04
18:48
[1d3c37e76e] part of check-in [c9621825fc] Treat MorphOS + ixemul as a separate platform

This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (check-in: [c9621825fc] user: js, branch: trunk, size: 2323) [annotate] [blame] [check-ins using] [diff]

2017-06-03
16:58
[a30a66785b] part of check-in [3cba61d694] Make sockets work on MorphOS + libnix (check-in: [3cba61d694] user: js, branch: trunk, size: 2267) [annotate] [blame] [check-ins using] [diff]
2017-05-17
22:14
[40a01b9a4a] part of check-in [d302df8b46] typedef socklen_t to int on MorphOS

The previous approach of including <pthread.h> - which has the typedef -
turned out to be wrong, as that header is only a stub and including it
breaks things.

Since all the functions taking a socklen_t on other platforms take an
int on MorphOS, creating a typedef to int is the proper way. (check-in: [d302df8b46] user: js, branch: trunk, size: 2037) [annotate] [blame] [check-ins using] [diff]

2017-05-16
22:35
[d3d411a803] part of check-in [e1559236a9] Add struct sockaddr_storage for MorphOS (check-in: [e1559236a9] user: js, branch: trunk, size: 2092) [annotate] [blame] [check-ins using] [diff]
22:24
[61415b2d72] part of check-in [69b3cfed8a] socket.h: Include pthread.h on MorphOS

Strangely, MorphOS defines socklen_t in pthread.h. (check-in: [69b3cfed8a] user: js, branch: trunk, size: 1978) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[237f41c8f9] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 1874) [annotate] [blame] [check-ins using] [diff]

2016-03-27
23:10
[854e84e0a1] part of check-in [12b8a7552e] Add socket support for Nintendo 3DS

This removes the port registry that existed for the Wii and instead
tries binding to random ports in a loop until it succeeds or errno is
not EADDRINUSE. This is done for the Wii and Nintendo 3DS now.

This also includes several other socket-related cleanups. (check-in: [12b8a7552e] user: js, branch: trunk, size: 1868) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[0af78deb94] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 1836) [annotate] [blame] [check-ins using] [diff]

00:41
[f7e5adc4a8] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 2042) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[f2d9f73c56] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 2038) [annotate] [blame] [check-ins using] [diff]
2015-10-17
10:59
[6b8f6a13f5] part of check-in [ed4549ddd3] Add a port registry for the Wii

This is necessary as the Wii does not allow picking a random free port,
and thus we need to track which ports are used. (check-in: [ed4549ddd3] user: js, branch: trunk, size: 2006) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[c74fa51c3e] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 1832) [annotate] [blame] [check-ins using] [diff]
2015-05-14
09:58
[dbedacc6ee] part of check-in [b37fdafac1] Clean up a few file and socket related checks (check-in: [b37fdafac1] user: js, branch: trunk, size: 1764) [annotate] [blame] [check-ins using] [diff]
2015-05-03
10:16
[f008ed8126] part of check-in [12fbe85aab] OFTCPSocket: Add -[setTCPNoDelayEnabled:]

This also adds -[isTCPNoDelayEnabled] and -[isKeepAliveEnabled],
together with OFGetOptionFailedException to indiciate failure to
retrieve the current value of the option. (check-in: [12fbe85aab] user: js, branch: trunk, size: 1784) [annotate] [blame] [check-ins using] [diff]

2015-03-22
11:42
[046f5f35a5] part of check-in [099e939079] Abstract int vs SOCKET as of_socket_t (check-in: [099e939079] user: js, branch: trunk, size: 1722) [annotate] [blame] [check-ins using] [diff]
2015-02-18
22:56
[3d1ffffaa0] part of check-in [f18615e057] Add of_getsockname() and make use of it

of_getsockname() calls getsockname() after acquiring a mutex. This is
necessary as some implementations of getsockname() are not thread-safe. (check-in: [f18615e057] user: js, branch: trunk, size: 1632) [annotate] [blame] [check-ins using] [diff]

2015-02-16
08:39
[347ab62b21] part of check-in [62e2de30b9] Explicitly pass errno to exceptions

The old behaviour where the exception would access errno directly on
creation of the exception was very fragile. The two main problems with
it were that sometimes it would pick up an errno even though none had
been set and in other cases that when the exception was created errno
had already been overridden.

This also greatly increases errno handling on Win32, especially in
conjunction with sockets. It can still be improved further, though. (check-in: [62e2de30b9] user: js, branch: trunk, size: 1496) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[8dbb1d9128] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1396) [annotate] [blame] [check-ins using] [diff]
2014-12-13
16:52
[57c57cf50c] part of check-in [06d2de4571] Use CLOEXEC for files and sockets (check-in: [06d2de4571] user: js, branch: trunk, size: 1390) [annotate] [blame] [check-ins using] [diff]
2014-03-05
00:31
[bc099d612b] part of check-in [4de1f2a67a] Move netinet/in.h include to socket.h

This is required as OFKernelEventObserver uses struct sockaddr_in as an
instance variable in case there is no pipe(). (check-in: [4de1f2a67a] user: js, branch: trunk, size: 1370) [annotate] [blame] [check-ins using] [diff]

2014-02-28
00:41
[9ed038db51] part of check-in [5ca844dd3b] Make MinGW32 and MinGW-w64 happy at the same time (check-in: [5ca844dd3b] user: js, branch: trunk, size: 1310) [annotate] [blame] [check-ins using] [diff]
2014-02-12
03:17
[dd03cd91b5] part of check-in [6ba4095f05] Fix compilation with mingw-w64 (check-in: [6ba4095f05] user: js, branch: trunk, size: 1216) [annotate] [blame] [check-ins using] [diff]
03:17
[ef3d903192] part of check-in [fab07a40ca] Fix compilation with mingw32 (check-in: [fab07a40ca] user: js, branch: trunk, size: 1193) [annotate] [blame] [check-ins using] [diff]
2014-02-03
14:43
[49c77e6e7b] part of check-in [414c87ec13] Move socket initialization to a single place (check-in: [414c87ec13] user: js, branch: trunk, size: 1171) [annotate] [blame] [check-ins using] [diff]
2014-01-25
19:33
Added: [2c4b5dfd5d] part of check-in [81d47f4398] Move socket includes and helpers to separate files

The new file socket.h includes all headers required for sockets on the
used platform, while the file socket_helpers.h defines the BSD API
functions to the platform specific functions if necessary.

This cleans up the classes dealing with sockets a lot and also reduces
code duplication. (check-in: [81d47f4398] user: js, branch: trunk, size: 1113) [annotate] [blame] [check-ins using]