ObjFW  All files named "src/OFSocket.h"

History for src/OFSocket.h

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

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