ObjFW  History of src/OFUDPSocket.h of 38c16e3793a2a175

History of file src/OFUDPSocket.h at check-in 38c16e3793a2a175

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [9d8184d983] check-in: [164f2fb4bf] user: js, branch: trunk, size: 2969 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [7037259922] check-in: [7413a728a7] user: js, branch: trunk, size: 2981 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [3f2d31105b] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2773 [annotate] [blame] [check-ins using] [diff]
2023-05-21
10:04
OFUDPSocket: Return socket address bound to file: [91885680ff] check-in: [65154c2576] user: js, branch: trunk, size: 2773 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [d52363c244] check-in: [8939cbdb52] user: js, branch: trunk, size: 2763 [annotate] [blame] [check-ins using] [diff]
2022-12-27
13:58
Rename OFAlready{Connected -> Open}Exception file: [c24a066509] check-in: [29a41e5a78] user: js, branch: trunk, size: 2763 [annotate] [blame] [check-ins using] [diff]
2022-10-22
18:51
Fix overlooked OFSocketAddress(Set)Port file: [9190ffdfc0] check-in: [64fc4f6344] user: js, branch: trunk, size: 2768 [annotate] [blame] [check-ins using] [diff]
16:00
Split OFBindSocketFailedException into subclasses file: [c4641067b3] check-in: [72db6b3c6f] user: js, branch: trunk, size: 2766 [annotate] [blame] [check-ins using] [diff]
15:07
Rename OFBind{ -> Socket}FailedException file: [9064e55448] check-in: [35b565d369] user: js, branch: trunk, size: 2764 [annotate] [blame] [check-ins using] [diff]
2022-10-18
15:34
Document more exceptions file: [e94e3865e1] check-in: [e9708e48e0] user: js, branch: trunk, size: 2758 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [3a21c440bc] check-in: [1a86b8175b] user: js, branch: trunk, size: 2645 [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:05
Minor fixes for last commit file: [7fc9c66432] check-in: [c45a108585] user: js, branch: new-naming-convention, size: 2645 [annotate] [blame] [check-ins using] [diff]
13:58
of_socket_address_t -> OFSocketAddress file: [758612bc48] check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 2645 [annotate] [blame] [check-ins using] [diff]
2021-03-07
15:07
*.h: Fold methods into one line where it fits file: [0c69733f4b] check-in: [1948e7e972] user: js, branch: trunk, size: 2605 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [c77d39725a] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2609 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [58fc97b11e] check-in: [163a4a5a2e] user: js, branch: trunk, size: 2698 [annotate] [blame] [check-ins using] [diff]
2020-09-26
21:58
Don't require __COUNTER__ for OF_RESERVE_IVARS

__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. file: [816428dfc4] check-in: [ef614a225d] user: js, branch: trunk, size: 2698 [annotate] [blame] [check-ins using] [diff]

2020-04-26
16:21
Add OFSequencedPacketSocket

This is intended for SCTP and SPX. file: [d9eb072d8d] check-in: [e5b2ee56ff] user: js, branch: trunk, size: 2685 [annotate] [blame] [check-ins using] [diff]

2020-04-25
23:02
Add OFIPXSocket file: [34be8eb48d] check-in: [4a5822e7c0] user: js, branch: trunk, size: 2689 [annotate] [blame] [check-ins using] [diff]
17:05
Add OFDatagramSocket as base class for OFUDPSocket

This makes it easier to reuse code for other datagram sockets, namely
IPX. file: [1edfbebe15] check-in: [b02c4b05bb] user: js, branch: trunk, size: 2668 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [1854fff845] check-in: [c7f0229795] user: js, branch: trunk, size: 11377 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [93eb5b4287] check-in: [496695d778] user: js, branch: trunk, size: 11374 [annotate] [blame] [check-ins using] [diff]

2019-08-01
21:05
Add missing extern "C" file: [7aa018221e] check-in: [c26426e80f] user: js, branch: trunk, size: 11353 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [55c0fec4d8] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 11421 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [3a88d52639] check-in: [0509d7a844] user: js, branch: trunk, size: 11443 [annotate] [blame] [check-ins using] [diff]
2018-12-18
21:17
Use OFData instead of a buffer for async UDP sends

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

2018-12-11
22:57
Include an exception in delegate methods

Otherwise, there would be two methods for every operation: One for
success and one for failure. It also makes it easy to forget about
handling failure, so it's better to always pass an optional exception. file: [ab6554e3b4] check-in: [064dbe5127] user: js, branch: trunk, size: 12830 [annotate] [blame] [check-ins using] [diff]

2018-12-08
18:55
OFUDPSocket: Use a delegate for async operations file: [6654ade8b5] check-in: [da2dd2dde5] user: js, branch: trunk, size: 13264 [annotate] [blame] [check-ins using] [diff]
2018-10-07
02:06
Remove resolver.m

Instead, OFDNSResolver is used for everything now. file: [201326e03a] check-in: [6e9ee122eb] user: js, branch: trunk, size: 13697 [annotate] [blame] [check-ins using] [diff]

2018-09-29
14:45
OFUDPSocket: Allow specifying the run loop mode file: [29dec683be] check-in: [b90d4055a1] user: js, branch: trunk, size: 15813 [annotate] [blame] [check-ins using] [diff]
2018-08-04
16:23
Support for non-blocking UDP sockets file: [ad5fd6fb30] check-in: [7de9d67be9] user: js, branch: trunk, size: 11536 [annotate] [blame] [check-ins using] [diff]
2018-07-28
20:21
Add of_socket_address_ip_string()

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

17:38
Rename of_{udp_ -> }socket_address file: [b1604a829a] check-in: [b16f2b9e25] user: js, branch: trunk, size: 11910 [annotate] [blame] [check-ins using] [diff]
2018-01-21
02:20
Allow boxing of most structs file: [b58e2745e2] check-in: [88b19eae2c] user: js, branch: trunk, size: 12849 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [5df4f71a3e] check-in: [7e5c81e186] user: js, branch: trunk, size: 12838 [annotate] [blame] [check-ins using] [diff]
2017-10-01
14:14
Backport nullability fixes from master file: [03e3db3557] check-in: [f37b373a95] user: js, branch: 0.90, size: 9556 [annotate] [blame] [check-ins using] [diff]
13:43
More nullability and style fixes file: [22885e09ba] check-in: [66c29a31f2] user: js, branch: trunk, size: 12815 [annotate] [blame] [check-ins using] [diff]
2017-09-24
17:35
OFUDPSocket: Add support for async sending file: [c400113946] check-in: [842c55dd83] user: js, branch: trunk, size: 12815 [annotate] [blame] [check-ins using] [diff]
16:34
Minor documentation fix file: [dca0ed119a] check-in: [a0394db776] user: js, branch: trunk, size: 9717 [annotate] [blame] [check-ins using] [diff]
11:24
Change type for async exceptions to id file: [9375eeb6ac] check-in: [f8498bb114] user: js, branch: trunk, size: 9591 [annotate] [blame] [check-ins using] [diff]
2017-09-23
22:07
Support for passing a context to async IO handlers file: [dea0dfc05e] check-in: [958da109d3] user: js, branch: trunk, size: 9669 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

Casts are now written like types in variable declarations. file: [05fb60ba2c] check-in: [4af49a13c3] user: js, branch: trunk, size: 9556 [annotate] [blame] [check-ins using] [diff]

2017-02-04
21:37
OFRunLoop: Refactor read queue handling file: [087ce7f471] check-in: [6ae356af85] user: js, branch: trunk, size: 9538 [annotate] [blame] [check-ins using] [diff]
17:45
Fix typos in comments and strings found by aspell file: [2d7a3ab4ec] check-in: [5a31a537a1] user: js, branch: trunk, size: 9912 [annotate] [blame] [check-ins using] [diff]
15:28
Minor documentation improvements file: [3475bfe139] check-in: [6328d96718] user: js, branch: trunk, size: 9908 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

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

2016-07-24
02:19
Minor documentation fix file: [35a6c11818] check-in: [79e447956c] user: js, branch: trunk, size: 9891 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [36aff00024] check-in: [cec0f072f8] user: js, branch: 0.8, size: 9861 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

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

2015-11-28
19:47
Minor documentation improvements file: [385f265ac9] check-in: [650b4be224] user: js, branch: trunk, size: 9889 [annotate] [blame] [check-ins using] [diff]
2015-11-21
18:35
Remove OF_NULLABLE / OF_NONNULL

Now that Clang switched to use _Nullable and _Nonnull instead of
__nullable / __nonnull, there is no longer a conflict with glibc, which
means we can just define _Nullable / _Nonnull to nothing if they are not
understood by the compiler (which did not work with __nullable /
__nonnull due to this conflict).

This also defines _Null_unspecified to nothing if unavailable. file: [24146b1f99] check-in: [d526d938d7] user: js, branch: trunk, size: 9885 [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [441994c3e5] check-in: [1ba08eebc5] user: js, branch: trunk, size: 9895 [annotate] [blame] [check-ins using] [diff]
2015-10-17
10:59
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. file: [3a06e39684] check-in: [ed4549ddd3] user: js, branch: trunk, size: 9896 [annotate] [blame] [check-ins using] [diff]

2015-09-14
13:50
OFUDPSocket: More constness file: [322e298c3d] check-in: [605fc10fad] user: js, branch: trunk, size: 9857 [annotate] [blame] [check-ins using] [diff]
2015-06-14
10:45
Add OF_NONNULL / OF_NULLABLE and use that instead

Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. file: [fa09b98560] check-in: [b7097a67b6] user: js, branch: trunk, size: 9851 [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
Add support for and use the new nullability file: [47b461dbfd] check-in: [9e76144ef8] user: js, branch: trunk, size: 9846 [annotate] [blame] [check-ins using] [diff]
2015-03-22
11:42
Abstract int vs SOCKET as of_socket_t file: [40843cdaf1] check-in: [099e939079] user: js, branch: trunk, size: 9743 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [efd1a5e773] check-in: [cfd374b906] user: js, branch: trunk, size: 9783 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [d8fe7916d5] check-in: [246cfe0807] user: js, branch: trunk, size: 9777 [annotate] [blame] [check-ins using] [diff]
2014-02-12
03:17
OFUDPSocket: Use SOCKET on Win32 file: [ba6a2a7484] check-in: [60be8437d7] user: js, branch: trunk, size: 9646 [annotate] [blame] [check-ins using] [diff]
2014-02-10
10:46
-[cancelAsyncRequests] documentation: Add warning file: [7ca9ec0aa8] check-in: [048c4912d6] user: js, branch: trunk, size: 9598 [annotate] [blame] [check-ins using] [diff]
2014-02-04
21:45
OFUDPSocket: Fix documentation typo file: [02587fac57] check-in: [834ee6db92] user: js, branch: trunk, size: 9227 [annotate] [blame] [check-ins using] [diff]
21:45
OFUDPSocket: Conform to OFCopying file: [39a630ec7b] check-in: [f836f5e65d] user: js, branch: trunk, size: 9228 [annotate] [blame] [check-ins using] [diff]
2014-01-31
13:07
Minor fixes (missing ifdefs, etc.) file: [5e54f25dd2] check-in: [60cb25ab50] user: js, branch: trunk, size: 8783 [annotate] [blame] [check-ins using] [diff]
2014-01-30
22:02
OFUDPSocket: Add async resolve / receive file: [b1471e0ef4] check-in: [ff3c507941] user: js, branch: trunk, size: 8754 [annotate] [blame] [check-ins using] [diff]
12:26
Rename +[UDPSocket hostForAddress:port:]

It is now called +[getHost:andPort:forAddress:]. This makes it much
clearer from the selector alone what it actually does. file: [2a7d7dd320] check-in: [fb590316ba] user: js, branch: trunk, size: 4676 [annotate] [blame] [check-ins using] [diff]

2014-01-29
15:59
OFUDPSocket: Add observing file: [7885c380e7] check-in: [c4f36e3692] user: js, branch: trunk, size: 4604 [annotate] [blame] [check-ins using] [diff]
2014-01-27
22:01
Added: Add OFUDPSocket

Async operations will follow later. file: [3d20c31b29] check-in: [5025cba435] user: js, branch: trunk, size: 4509 [annotate] [blame] [check-ins using]