mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Restructuring of socket streams for maintainability and consistency between windows and unix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25854 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
56f3cf18df
commit
1abfa12b99
7 changed files with 1925 additions and 2347 deletions
|
@ -254,18 +254,18 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* Creates and returns by reference an NSInputStream object and
|
||||
* NSOutputStream object for a local socket connection with the
|
||||
* specified path. To use them you need to open them and wait
|
||||
* on the NSStreamEventOpenCompleted event on one of them
|
||||
* NSOutputStream object for a local socket or named pipe connection
|
||||
* with the specified path. To use them you need to open them and wait
|
||||
* on the NSStreamEventOpenCompleted event on one of them.
|
||||
*/
|
||||
+ (void) getLocalStreamsToPath: (NSString *)path
|
||||
inputStream: (NSInputStream **)inputStream
|
||||
outputStream: (NSOutputStream **)outputStream;
|
||||
/**
|
||||
* Creates and returns by reference an NSInputStream object and NSOutputStream
|
||||
* object for a anonymous local socket. Although you still need to open them,
|
||||
* the open will be instantanious, and no NSStreamEventOpenCompleted event
|
||||
* will be delivered.
|
||||
* object for a anonymous local socket or pipe. Although you still need to
|
||||
* open them, the open will be instantaneous, and no NSStreamEventOpenCompleted
|
||||
* event will be delivered.
|
||||
*/
|
||||
+ (void) pipeWithInputStream: (NSInputStream **)inputStream
|
||||
outputStream: (NSOutputStream **)outputStream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue