ObjFW  All files named "src/OFSocket.h"

History for src/OFSocket.h

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

2022-10-22
22:37
Fix compilation for systems without sockaddr_at file: [77a6b954f7] check-in: [9934ed3ac2] user: js, branch: trunk, size: 11862 [annotate] [blame] [check-ins using] [diff]
18:46
Merge trunk into branch "appletalk" file: [990896e9f7] check-in: [d1c9ed8498] user: js, branch: appletalk, size: 11851 [annotate] [blame] [check-ins using] [diff]
18:41
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. file: [e6bf54de5e] check-in: [a54730b88f] user: js, branch: trunk, size: 9155 [annotate] [blame] [check-ins using] [diff]

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

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

14:43
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. file: [e523ef42af] check-in: [ccc6a77c55] user: js, branch: trunk, size: 8749 [annotate] [blame] [check-ins using] [diff]

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

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

16:07
Don't try to use UNIX sockets on MorphOS file: [19afd95fa7] check-in: [2f49b4aec2] user: js, branch: unix-sockets, size: 8681 [annotate] [blame] [check-ins using] [diff]
13:40
Merge trunk into branch "unix-sockets" file: [b11ec9bdab] 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. Merge trunk into branch "sctp" file: [a9f231c148] check-in: [a82e7f4b3d] user: js, branch: sctp, size: 7836 [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. file: [2b4aae9d25] 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. Merge trunk into branch "unix-sockets" file: [789ea6a8ed] check-in: [fb40f7048d] user: js, branch: unix-sockets, size: 8691 [annotate] [blame] [check-ins using] [diff]
2021-04-18
23:18
INVALID_SOCKET -> OFInvalidSocketHandle file: [f49763d210] check-in: [4b587c8874] user: js, branch: new-naming-convention, size: 7812 [annotate] [blame] [check-ins using] [diff]
22:56
Rename all symbols marked extern file: [4e8739b8a5] 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. Rename everything in several smaller files file: [49c6656be8] check-in: [35de667566] user: js, branch: new-naming-convention, size: 7701 [annotate] [blame] [check-ins using] [diff]
2010-07-07
20:57
Deleted: Rename OFSocket to OFStreamSocket.

This is to reflect that it is a connection-based, sequenced, reliable,
two-way byte stream. check-in: [28ea4a8a67] user: js, branch: trunk, size: 0

2010-06-13
12:15
Improve OFSocketObserver API. file: [1c92be9a99] check-in: [4ca583737c] user: js, branch: trunk, size: 754 [annotate] [blame] [check-ins using] [diff]
03:23
Add OFSocketObserver. file: [c13d8752b7] check-in: [7390eb7270] user: js, branch: trunk, size: 722 [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
Don't return self where not necessary, return void or something useful. file: [cc8482609a] check-in: [062a052b50] user: js, branch: trunk, size: 714 [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
Update copyright. file: [353d35e521] check-in: [42886185fd] user: js, branch: trunk, size: 708 [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
Documentation improvements. file: [67cbf9c293] check-in: [72caeab860] user: js, branch: trunk, size: 708 [annotate] [blame] [check-ins using] [diff]
2010-01-30
13:33
Move some stuff from OFSocket to OFTCPSocket. file: [63006eb928] check-in: [fe6787bc79] user: js, branch: trunk, size: 709 [annotate] [blame] [check-ins using] [diff]
2010-01-22
18:40
Clean up OFStream and OFSocket interface.
This allows better compile-time checks.
file: [7dfa9cbdaf] check-in: [273d5b90f8] user: js, branch: trunk, size: 994 [annotate] [blame] [check-ins using] [diff]
2009-12-20
23:15
Clean up includes in OFTCPSocket. file: [ac924aea1f] check-in: [1d68cfa595] user: js, branch: trunk, size: 1266 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [3590220a29] check-in: [a3cc34b139] user: js, branch: trunk, size: 1266 [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:44
Make OFSocket a class cluster. file: [69355d01ce] check-in: [f847f82b75] user: js, branch: trunk, size: 1269 [annotate] [blame] [check-ins using] [diff]
13:10
Implement -[atEndOfStream] for OFSocket. file: [2c2229f73b] check-in: [41d7910a65] user: js, branch: trunk, size: 997 [annotate] [blame] [check-ins using] [diff]
2009-05-29
09:28
Always use [self alloc]. file: [ddb40125e5] check-in: [282aadb9df] user: js, branch: trunk, size: 985 [annotate] [blame] [check-ins using] [diff]
2009-05-07
16:08
Added: Add OFSocket base class. file: [2df5bc02b8] check-in: [0110aec5c0] user: js, branch: trunk, size: 924 [annotate] [blame] [check-ins using]
2008-12-07
10:24
Deleted: OFSocket -> OFTCPSocket. check-in: [d1a5065e69] user: js, branch: trunk, size: 0
03:06
Remove writeWideCString as that's a bad idea.

Endianess, size etc. may differ from system to system. While this might
be ok when writing files that are only read local again, this is
definitely not ok with sockets. So it's better to remove it from the
OFStream protocol. file: [e31807ae92] check-in: [70874cf3c5] user: js, branch: trunk, size: 2917 [annotate] [blame] [check-ins using] [diff]

02:53
Add writeCString and writeWideCString to OFStream. file: [896e2569bc] check-in: [6ed7c33611] user: js, branch: trunk, size: 2721 [annotate] [blame] [check-ins using] [diff]
02:35
Added: Add inital OFSocket class. file: [4a5db4859f] check-in: [ba7219b1b6] user: js, branch: trunk, size: 2715 [annotate] [blame] [check-ins using]