NGSocket
Inherits From: NSObject
Conforms To: NGSocket
Declared In: NGSocket.h
Methods: + socketInDomain: , - initWithDomain: , - primaryCreateSocket , - close , - bindToAddress: , - kernelBoundAddress , - localAddress , - isBound , - setLastException: , - lastException , - resetLastException , - socketType , - domain , - fileHandle , - fileDescriptor , - fileDescriptor , - setDebug: , - setReuseAddress: , - setKeepAlive: , - setDontRoute: , - doesDebug , - doesReuseAddress , - doesKeepAlive , - doesNotRoute , - setSendBufferSize: , - setReceiveBufferSize: , - sendBufferSize , - receiveBufferSize


Class Description
No class description.



Symbolic Constants
Synopsis
NGInvalidSocketDescriptor INVALID_SOCKET
NGInvalidSocketDescriptor ((int)-1)
Synopsis
POLLRDNORM 1
POLLIN POLLRDNORM
POLLWRNORM 2
POLLOUT POLLWRNORM
POLLERR 4
POLLHUP 4


Instance Variables
SOCKET fd;
int fd;
id<NGSocketDomain> domain;
id<NGSocketAddress> localAddress;
NSFileHandle *fileHandle;
struct {    
    int closeOnFree:1;
    int isBound:1;
} flags;

NSException *lastException;

fdNo description.
fdNo description.
domainNo description.
localAddressNo description.
fileHandleNo description.
flags.closeOnFreeNo description.
flags.isBoundNo description.
lastExceptionNo description.



Method Types
+ socketInDomain:
- initWithDomain:
- primaryCreateSocket
- close
- bindToAddress:
- kernelBoundAddress
- localAddress
- isBound
- setLastException:
- lastException
- resetLastException
- socketType
- domain
- fileHandle
- fileDescriptor
- fileDescriptor
- setDebug:
- setReuseAddress:
- setKeepAlive:
- setDontRoute:
- doesDebug
- doesReuseAddress
- doesKeepAlive
- doesNotRoute
- setSendBufferSize:
- setReceiveBufferSize:
- sendBufferSize
- receiveBufferSize


Class Methods
socketInDomain:
+ (id)socketInDomain:(id<NGSocketDomain>)_domain
No method description.


Instance Methods
bindToAddress:
- (BOOL)bindToAddress:(id<NGSocketAddress>)_address
No method description.

close
- (BOOL)close
No method description.

doesDebug
- (BOOL)doesDebug
No method description.

doesKeepAlive
- (BOOL)doesKeepAlive
No method description.

doesNotRoute
- (BOOL)doesNotRoute
No method description.

doesReuseAddress
- (BOOL)doesReuseAddress
No method description.

domain
- (id<NGSocketDomain>)domain
No method description.

fileDescriptor
- (SOCKET)fileDescriptor
No method description.

fileDescriptor
- (int)fileDescriptor
No method description.

fileHandle
- (NSFileHandle *)fileHandle
No method description.

initWithDomain:
- (id)initWithDomain:(id<NGSocketDomain>)_domain
No method description.

isBound
- (BOOL)isBound
No method description.

kernelBoundAddress
- (BOOL)kernelBoundAddress
No method description.

lastException
- (NSException *)lastException
No method description.

localAddress
- (id<NGSocketAddress>)localAddress
No method description.

primaryCreateSocket
- (BOOL)primaryCreateSocket
No method description.

receiveBufferSize
- (int)receiveBufferSize
No method description.

resetLastException
- (void)resetLastException
No method description.

sendBufferSize
- (int)sendBufferSize
No method description.

setDebug:
- (void)setDebug:(BOOL)_flag
No method description.

setDontRoute:
- (void)setDontRoute:(BOOL)_flag
No method description.

setKeepAlive:
- (void)setKeepAlive:(BOOL)_flag
No method description.

setLastException:
- (void)setLastException:(NSException *)_exception
No method description.

setReceiveBufferSize:
- (void)setReceiveBufferSize:(int)_size
No method description.

setReuseAddress:
- (void)setReuseAddress:(BOOL)_flag
No method description.

setSendBufferSize:
- (void)setSendBufferSize:(int)_size
No method description.

socketType
- (int)socketType
No method description.


Version 1.1.1.1 Copyright ©2002 by SKYRIX Software AG. All Rights Reserved.