ObjFW  All files named "src/OFSocket.m"

History for src/OFSocket.m

2024-04-03
02:16
Change license to LGPLv3 only file: [b9e69c4209] check-in: [7413a728a7] user: js, branch: trunk, size: 29953 [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
Update copyright file: [b16466444e] check-in: [7324ec8590] user: js, branch: 1.0, size: 28908 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [df2e9d8f9d] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 29745 [annotate] [blame] [check-ins using] [diff]
2023-10-22
21:47
Fix OFSocketAddressString() for AppleTalk file: [cb58b19af7] check-in: [b64b8e3b3f] user: js, branch: 1.0, size: 28908 [annotate] [blame] [check-ins using] [diff]
21:47
Fix OFSocketAddressString() for AppleTalk file: [c32eb17f99] check-in: [4056d5e2b6] user: js, branch: trunk, size: 29745 [annotate] [blame] [check-ins using] [diff]
21:45
Add OFSocketAddressDescription() file: [c153f444b0] check-in: [a8c9d73327] user: js, branch: trunk, size: 29732 [annotate] [blame] [check-ins using] [diff]
2023-08-01
22:25
Fix OFSocketAddressString() for IPX file: [0cd5c67cfd] check-in: [198e8b6aff] user: js, branch: trunk, size: 28895 [annotate] [blame] [check-ins using] [diff]
2023-07-16
17:53
OFUNIXDatagramSocket: Allow binding to nil path file: [602607c474] check-in: [36c65b8468] user: js, branch: trunk, size: 28880 [annotate] [blame] [check-ins using] [diff]
2023-07-15
17:18
Set sockaddr_un.sun_len if it exists file: [f0f36303c9] check-in: [3067a56f0d] user: js, branch: trunk, size: 28837 [annotate] [blame] [check-ins using] [diff]
2023-06-11
16:45
Add support for IPv4s embedded into IPv6s file: [d7a63b18b9] check-in: [af9084b456] user: js, branch: trunk, size: 28747 [annotate] [blame] [check-ins using] [diff]
2023-05-20
21:07
OFSocketAddressString: Add IPX support file: [788a494072] check-in: [bd332cc15f] user: js, branch: trunk, size: 27822 [annotate] [blame] [check-ins using] [diff]
20:54
OFSocketAddressString: Add AppleTalk support file: [8fc5b1646d] check-in: [79c5eeefcc] user: js, branch: trunk, size: 27162 [annotate] [blame] [check-ins using] [diff]
2023-04-10
15:08
Work around newer amiga-gcc defining Class file: [70652127c8] check-in: [abbed5c008] user: js, branch: trunk, size: 26852 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [ade572cc8e] check-in: [8939cbdb52] user: js, branch: trunk, size: 26808 [annotate] [blame] [check-ins using] [diff]
2022-11-05
19:47
Always support IPv6 addresses with numeric scope file: [3facc57fe7] check-in: [df7580d5e1] user: js, branch: trunk, size: 26808 [annotate] [blame] [check-ins using] [diff]
10:01
Don't include <net/if.h> on MorphOS

MorphOS has the header, but it's broken and including it makes the
compiler fail. file: [d36d90a400] check-in: [6235989999] user: js, branch: trunk, size: 27529 [annotate] [blame] [check-ins using] [diff]

2022-11-04
23:30
configure: Check for if_{indextoname,nametoindex} file: [f8a99adefe] check-in: [d5310a5145] user: js, branch: trunk, size: 27477 [annotate] [blame] [check-ins using] [diff]
23:25
Make Windows XP work again file: [1bb1aecd92] check-in: [631661004a] user: js, branch: trunk, size: 27313 [annotate] [blame] [check-ins using] [diff]
20:23
Add support for IPv6 addresses with scope file: [4c24f8dfd3] check-in: [027b704b66] user: js, branch: trunk, size: 26537 [annotate] [blame] [check-ins using] [diff]
2022-11-02
20:26
Use native endian for AppleTalk network on Windows

For some strange reason, Windows does not use big endian here like
everyone else. file: [da4b96c1d5] check-in: [4571eada47] user: js, branch: trunk, size: 25851 [annotate] [blame] [check-ins using] [diff]

2022-10-22
18:46
Merge trunk into branch "appletalk" file: [4fc1cbbf22] check-in: [d1c9ed8498] user: js, branch: appletalk, size: 25643 [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: [d0ea6d0ea9] check-in: [a54730b88f] user: js, branch: trunk, size: 22894 [annotate] [blame] [check-ins using] [diff]

18:21
Merge trunk into branch "appletalk" file: [60f126f761] check-in: [ec6ee4c269] user: js, branch: appletalk, size: 25157 [annotate] [blame] [check-ins using] [diff]
16:41
OF[IS]PX(Stream)Socket: Bind with network & node file: [85e7c00ebd] check-in: [b29f11ed25] user: js, branch: trunk, size: 22619 [annotate] [blame] [check-ins using] [diff]
13:49
OFSocket: Add support for AppleTalk file: [713c3da7b8] check-in: [6d7be6020e] user: js, branch: appletalk, size: 25154 [annotate] [blame] [check-ins using] [diff]
2022-09-19
19:10
Fix missing void in function declarations file: [65b91d8086] check-in: [41c2b305ce] user: js, branch: trunk, size: 22616 [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
OFObject: Small API change file: [6267eed94e] check-in: [4ad0c363f3] user: js, branch: trunk, size: 22612 [annotate] [blame] [check-ins using] [diff]
2022-08-06
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: [b9058d4f4d] check-in: [ccc6a77c55] user: js, branch: trunk, size: 22537 [annotate] [blame] [check-ins using] [diff]

2022-07-31
13:55
Add initial socket code for Nintendo Switch

This doesn't work yet (it crashes on recvfrom), so it's not enabled in
configure for now. file: [16116f3ca3] check-in: [a30a0ab261] user: js, branch: nintendo-switch, size: 22537 [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
Update copyright file: [8f11763ca5] check-in: [1a86b8175b] user: js, branch: trunk, size: 22416 [annotate] [blame] [check-ins using] [diff]
2021-10-24
22:36
OFSocketAddressMakeUNIX: Better length calculation file: [a6e136f9fe] check-in: [ba552986b4] user: js, branch: trunk, size: 22416 [annotate] [blame] [check-ins using] [diff]
22:09
Fix OFSocketAddressUNIXPath file: [626dd6d6ed] check-in: [24ffb76ae2] user: js, branch: unix-sockets, size: 22437 [annotate] [blame] [check-ins using] [diff]
15:14
Add OFUNIXDatagramSocket file: [0370baa1c4] check-in: [94110c9553] user: js, branch: unix-sockets, size: 22529 [annotate] [blame] [check-ins using] [diff]
2021-04-25
20:25
Minor style fix file: [25a9151924] check-in: [05dbd482bf] user: js, branch: unix-sockets, size: 23161 [annotate] [blame] [check-ins using] [diff]
20:22
Renamed src/socket.m → src/OFSocket.m. Merge trunk into branch "unix-sockets" file: [a17f72fec0] check-in: [fb40f7048d] user: js, branch: unix-sockets, size: 23163 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [941bbd3cbe] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 20528 [annotate] [blame] [check-ins using] [diff]
20:51
Renamed src/socket.m → src/OFSocket.m. Rename everything in several smaller files file: [3ac6ff523b] check-in: [35de667566] user: js, branch: new-naming-convention, size: 20570 [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

20:46
Add -[fileDescriptor] to OFStream. file: [26b969d2ec] check-in: [9d064462a3] user: js, branch: trunk, size: 2325 [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
Don't return self where not necessary, return void or something useful. file: [7d46692d8a] check-in: [062a052b50] user: js, branch: trunk, size: 2284 [annotate] [blame] [check-ins using] [diff]
2010-04-10
21:37
Don't set errno in sockets on Win32. file: [eff73867f1] check-in: [1e35805366] user: js, branch: trunk, size: 2293 [annotate] [blame] [check-ins using] [diff]
16:46
Improve error handling with sockets. file: [3aa367c99c] check-in: [baad47ed5b] user: js, branch: trunk, size: 2129 [annotate] [blame] [check-ins using] [diff]
2010-04-09
14:59
Better hiding of the internal OFStream methods. file: [3f6d8a7208] check-in: [2a9e91b67c] user: js, branch: trunk, size: 2018 [annotate] [blame] [check-ins using] [diff]
00:55
Add an optional write cache to OFStream. file: [df33a24aa3] check-in: [66c1d7718d] user: js, branch: trunk, size: 2059 [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
Update copyright. file: [76195a13fc] check-in: [42886185fd] user: js, branch: trunk, size: 2042 [annotate] [blame] [check-ins using] [diff]
2010-01-30
14:14
Fix missing includes and typos. file: [7c0069f9e8] check-in: [35f59c61c6] user: js, branch: trunk, size: 2042 [annotate] [blame] [check-ins using] [diff]
13:33
Move some stuff from OFSocket to OFTCPSocket. file: [e6b38c0bf2] check-in: [fe6787bc79] user: js, branch: trunk, size: 1969 [annotate] [blame] [check-ins using] [diff]
2010-01-22
18:40
Clean up OFStream and OFSocket interface.
This allows better compile-time checks.
file: [90f67dc16d] check-in: [273d5b90f8] user: js, branch: trunk, size: 2058 [annotate] [blame] [check-ins using] [diff]
2009-12-06
00:27
Remove two method implementations not used anymore. file: [58e9bceec8] check-in: [a0a5ecf01f] user: js, branch: trunk, size: 2924 [annotate] [blame] [check-ins using] [diff]
2009-12-03
18:50
Make OFStream caching invisible to the programmer. file: [866349c818] check-in: [fc0b2500b9] user: js, branch: trunk, size: 3119 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [d65c17ca33] check-in: [a3cc34b139] user: js, branch: trunk, size: 3090 [annotate] [blame] [check-ins using] [diff]
2009-07-19
14:05
Rename andFoo: to foo: in all methods. file: [ee6abc7e26] check-in: [4eae61a78f] user: js, branch: trunk, size: 3093 [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:44
Make OFSocket a class cluster. file: [f493de3de8] check-in: [f847f82b75] user: js, branch: trunk, size: 3093 [annotate] [blame] [check-ins using] [diff]
13:10
Implement -[atEndOfStream] for OFSocket. file: [e3b5644b59] check-in: [41d7910a65] user: js, branch: trunk, size: 2227 [annotate] [blame] [check-ins using] [diff]
2009-06-02
19:25
Improve -[readLine] in OFStream. file: [4843a4b3cd] check-in: [f1dae95070] user: js, branch: trunk, size: 2369 [annotate] [blame] [check-ins using] [diff]
2009-05-29
09:28
Always use [self alloc]. file: [309a255317] check-in: [282aadb9df] user: js, branch: trunk, size: 2299 [annotate] [blame] [check-ins using] [diff]
2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [17814ea548] check-in: [94ea6848a8] user: js, branch: trunk, size: 2242 [annotate] [blame] [check-ins using] [diff]
2009-05-23
01:59
Prevent + initialize from being called twice. file: [ae3a81111f] check-in: [e0163c30a9] user: js, branch: trunk, size: 2241 [annotate] [blame] [check-ins using] [diff]
2009-05-15
22:59
As we memset our ivars to 0, get rid of some useless ivar inits. file: [f1c982e206] check-in: [4c6d6c56ac] user: js, branch: trunk, size: 2199 [annotate] [blame] [check-ins using] [diff]
2009-05-13
19:49
There's no need for + initialize to return anything. file: [3e54369073] check-in: [917188fdcc] user: js, branch: trunk, size: 2215 [annotate] [blame] [check-ins using] [diff]
2009-05-07
16:08
Added: Add OFSocket base class. file: [84d000978b] check-in: [0110aec5c0] user: js, branch: trunk, size: 2224 [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: [9c27c4838b] check-in: [70874cf3c5] user: js, branch: trunk, size: 2951 [annotate] [blame] [check-ins using] [diff]

02:59
glibc is broken once again. I guess no other libc is that broken... file: [8a25c414b4] check-in: [6d069e2a83] user: js, branch: trunk, size: 3276 [annotate] [blame] [check-ins using] [diff]
02:53
Add writeCString and writeWideCString to OFStream. file: [ebbb94e27f] check-in: [6ed7c33611] user: js, branch: trunk, size: 3218 [annotate] [blame] [check-ins using] [diff]
02:35
Added: Add inital OFSocket class. file: [b2671e0dfd] check-in: [ba7219b1b6] user: js, branch: trunk, size: 2775 [annotate] [blame] [check-ins using]