ObjFW
Toggle main menu visibility
Loading...
Searching...
No Matches
OFDDPSocket.h
1
/*
2
* Copyright (c) 2008-2026 Jonathan Schleifer <js@nil.im>
3
*
4
* All rights reserved.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License version 3.0 only,
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13
* version 3.0 for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* version 3.0 along with this program. If not, see
17
* <https://www.gnu.org/licenses/>.
18
*/
19
20
#import "
OFDatagramSocket.h
"
21
22
OF_ASSUME_NONNULL_BEGIN
23
24
@class
OFString
;
25
@class
OFDictionary
OF_GENERIC(KeyType, ObjectType);
26
32
@protocol
OFDDPSocketDelegate <OFDatagramSocketDelegate>
33
@end
34
60
@interface
OFDDPSocket
:
OFDatagramSocket
61
{
62
#if !defined(OF_MACOS) && !defined(OF_WINDOWS)
63
uint8_t _protocolType;
64
#endif
65
OF_RESERVE_IVARS(
OFDDPSocket
, 4)
66
}
67
74
@property
OF_NULLABLE_PROPERTY (assign, nonatomic)
75
id <OFDDPSocketDelegate>
delegate
;
76
91
- (
OFSocketAddress
)bindToNetwork: (uint16_t)network
92
node: (uint8_t)node
93
port: (uint8_t)port
94
protocolType: (uint8_t)protocolType;
95
@end
96
97
OF_ASSUME_NONNULL_END
OFDatagramSocket.h
OFDDPSocket
A class which provides methods to create and use AppleTalk DDP sockets.
Definition
OFDDPSocket.h:61
OFDDPSocket::delegate
id< OFDDPSocketDelegate > delegate
The delegate for asynchronous operations on the socket.
Definition
OFDDPSocket.h:75
OFDatagramSocket
A base class for datagram sockets.
Definition
OFDatagramSocket.h:147
OFDictionary
An abstract class for storing objects in a dictionary.
Definition
OFDictionary.h:85
OFString
A class for handling strings.
Definition
OFString.h:144
OFSocketAddress
A struct which represents a host / port pair for a socket.
Definition
OFSocket.h:189
src
OFDDPSocket.h
Generated by
1.17.0