22OF_ASSUME_NONNULL_BEGIN
41typedef OFDictionary OF_GENERIC(OFUNIXSocketCredentialsKey,
id)
42 *OFUNIXSocketCredentials;
52extern OFUNIXSocketCredentialsKey OFUNIXSocketCredentialsUserID;
59extern OFUNIXSocketCredentialsKey OFUNIXSocketCredentialsGroupID;
66extern OFUNIXSocketCredentialsKey OFUNIXSocketCredentialsProcessID;
76@protocol OFUNIXStreamSocketDelegate <OFStreamSocketDelegate>
98@property OF_NULLABLE_PROPERTY (assign, nonatomic)
104@property (readonly, nonatomic) OFUNIXSocketCredentials
peerCredentials;
113- (
void)connectToPath: (
OFString *)path;
122- (
void)bindToPath: (
OFString *)path;
A class for storing constant strings using the @"" literal.
Definition OFConstantString.h:42
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class which provides methods to create and use stream sockets.
Definition OFStreamSocket.h:88
A class for handling strings.
Definition OFString.h:143
A class which provides methods to create and use UNIX stream sockets.
Definition OFUNIXStreamSocket.h:88
id< OFUNIXStreamSocketDelegate > delegate
The delegate for asynchronous operations on the socket.
Definition OFUNIXStreamSocket.h:99
OFUNIXSocketCredentials peerCredentials
The credentials of the peer the socket is connected to.
Definition OFUNIXStreamSocket.m:128