ObjFW  All files named "src/socket_helpers.h"

History for src/socket_helpers.h

2022-07-15
18:09
Renamed to src/OFSocket+Private.h. Merge trunk into branch "wii-u" check-in: [a2973418de] user: js, branch: wii-u, size: 0
2021-04-25
11:29
Renamed to src/OFSocket+Private.h. Change the naming convention

This follows more closely what most ObjC developers are used to and
hence makes it easier for people coming from the OpenStep world to get
used to ObjFW. check-in: [2b74ff13b0] user: js, branch: trunk, size: 0

2021-04-18
20:51
Renamed to src/OFSocket+Private.h. Rename everything in several smaller files check-in: [35de667566] user: js, branch: new-naming-convention, size: 0
2021-04-17
15:45
of_tlskey_t -> OFTLSKey file: [286c9b17aa] check-in: [cc3a4a7b43] user: js, branch: new-naming-convention, size: 2997 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [8de17e0f84] check-in: [374e1a1bfa] user: js, branch: trunk, size: 3004 [annotate] [blame] [check-ins using] [diff]
2020-12-18
10:52
Remove support for ixemul on MorphOS

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

2020-12-06
17:49
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. file: [c2b374f2db] check-in: [b45a563f2b] user: js, branch: trunk, size: 3154 [annotate] [blame] [check-ins using] [diff]

2020-01-16
01:23
Fix compilation on MorphOS file: [76048c8293] check-in: [7f83956d3e] user: js, branch: trunk, size: 3124 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [609fc24588] check-in: [c7f0229795] user: js, branch: trunk, size: 3061 [annotate] [blame] [check-ins using] [diff]
2019-08-31
12:40
OFKernelEventObserver: Support for Exec Signals file: [9adc1700dc] check-in: [e9eb87694a] user: js, branch: trunk, size: 3058 [annotate] [blame] [check-ins using] [diff]
2019-08-11
18:56
Support sockets in multiple threads on AmigaOS file: [2c4f4edda3] check-in: [a40f3fc829] user: js, branch: trunk, size: 3579 [annotate] [blame] [check-ins using] [diff]
2019-08-10
02:06
Clean up the AmigaOS 4 library mess file: [611aa62b04] check-in: [3292a6fdbc] user: js, branch: trunk, size: 3357 [annotate] [blame] [check-ins using] [diff]
2019-08-09
23:44
Support sockets on AmigaOS 3 file: [ccaba69181] check-in: [3dec8ecf2e] user: js, branch: trunk, size: 3410 [annotate] [blame] [check-ins using] [diff]
2019-06-26
20:38
Fix non-blocking sockets on MorphOS file: [5394fb29aa] check-in: [d1d1843970] user: js, branch: trunk, size: 2779 [annotate] [blame] [check-ins using] [diff]
2019-01-07
22:59
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. file: [cefe3ad662] check-in: [ab89c47f42] user: js, branch: trunk, size: 2624 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [e20459ca44] check-in: [0509d7a844] user: js, branch: trunk, size: 2727 [annotate] [blame] [check-ins using] [diff]
2018-10-07
02:06
Remove resolver.m

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

2018-08-26
18:39
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. file: [9196eb16cc] check-in: [bed2db0fd3] user: js, branch: trunk, size: 2924 [annotate] [blame] [check-ins using] [diff]

2018-08-11
21:53
Fix build on 3DS and Wii file: [44ead89dcb] check-in: [9a494f183b] user: js, branch: trunk, size: 2739 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [ad26261f01] check-in: [7e5c81e186] user: js, branch: trunk, size: 2718 [annotate] [blame] [check-ins using] [diff]
2017-06-04
18:48
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. file: [e85ec3eda4] check-in: [c9621825fc] user: js, branch: trunk, size: 2695 [annotate] [blame] [check-ins using] [diff]

2017-06-03
16:58
Make sockets work on MorphOS + libnix file: [f90819336c] check-in: [3cba61d694] user: js, branch: trunk, size: 2662 [annotate] [blame] [check-ins using] [diff]
2017-05-27
10:33
Add unistd.h wrapper to make things less horrible file: [7463dbdf6e] check-in: [d31ec806ef] user: js, branch: trunk, size: 2585 [annotate] [blame] [check-ins using] [diff]
10:08
Make things work with glibc 2.17 and Clang 3.4.2 file: [4619bdb896] check-in: [ec36a82d68] user: js, branch: trunk, size: 2824 [annotate] [blame] [check-ins using] [diff]
2017-05-22
23:31
Make includes of unistd.h and fcntl.h conditional file: [8ff5d2ca5e] check-in: [1287e77e04] user: js, branch: trunk, size: 2697 [annotate] [blame] [check-ins using] [diff]
2017-05-21
23:57
Use closesocket() instead of close()

Previously, socket_helpers.h would just define close() to whatever is
needed to close a socket. However, this makes it possible to
accidentally call a socket-specific close on something that is not a
socket. Having to explicitly call closesocket() (and defining it to
close() on platforms where it's the same) prevents this. file: [77b020019f] check-in: [b4cd87cd81] user: js, branch: trunk, size: 2668 [annotate] [blame] [check-ins using] [diff]

2017-05-17
00:13
Add in_addr_t for MorphOS file: [2eb48e2252] check-in: [c7a45d0140] user: js, branch: trunk, size: 2635 [annotate] [blame] [check-ins using] [diff]
2017-03-12
01:42
Define select() to net_select() on Wii file: [af4d927003] check-in: [0ce4eeb439] user: js, branch: trunk, size: 2581 [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: [bef4821e91] check-in: [44f45c2e35] user: js, branch: trunk, size: 2460 [annotate] [blame] [check-ins using] [diff]

2016-03-28
23:43
Style consistency changes

Multiline preprocessor directives now always indent the continued lines
by 4 spaces. The only exception are defines that define to code blocks:
Those are still indented by a tab in order to align with the rest of the
code. file: [ae4292ecac] check-in: [543eb96c02] user: js, branch: trunk, size: 2454 [annotate] [blame] [check-ins using] [diff]

2016-03-27
23:10
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. file: [3a4f887125] check-in: [12b8a7552e] user: js, branch: trunk, size: 2445 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [57adc3cc3c] check-in: [1ba08eebc5] user: js, branch: trunk, size: 2440 [annotate] [blame] [check-ins using] [diff]
2015-09-06
15:48
Fix compilation for Wii file: [c6d03fb540] check-in: [d0eab356ce] user: js, branch: trunk, size: 2414 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [6beb9110b2] check-in: [cfd374b906] user: js, branch: trunk, size: 2325 [annotate] [blame] [check-ins using] [diff]
2014-12-13
16:52
Use CLOEXEC for files and sockets file: [4282bb4929] check-in: [06d2de4571] user: js, branch: trunk, size: 2319 [annotate] [blame] [check-ins using] [diff]
2014-05-29
21:27
Work around __block being used by old glibc file: [698be452dd] check-in: [d1e559b643] user: js, branch: trunk, size: 2266 [annotate] [blame] [check-ins using] [diff]
2014-03-05
00:31
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(). file: [59991e1a1b] check-in: [4de1f2a67a] user: js, branch: trunk, size: 2175 [annotate] [blame] [check-ins using] [diff]

2014-03-04
23:53
resolver.m: Fix locking

A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. file: [278174d7fd] check-in: [898f8c7072] user: js, branch: trunk, size: 2232 [annotate] [blame] [check-ins using] [diff]

2014-01-26
22:38
Move resolving functionality to resolver.m

This is in preparation for UDP sockets, so that they can share the
resolving functionality with TCP sockets. file: [6a92767d43] check-in: [49b1989b63] user: js, branch: trunk, size: 2243 [annotate] [blame] [check-ins using] [diff]

13:32
Include unistd.h in socket_helpers.h file: [7262da62a1] check-in: [32ad39007a] user: js, branch: trunk, size: 2178 [annotate] [blame] [check-ins using] [diff]
2014-01-25
19:33
Added: 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. file: [7c99ba232e] check-in: [81d47f4398] user: js, branch: trunk, size: 2157 [annotate] [blame] [check-ins using]