#import <ObjectiveLib/Socket.h>
Inheritance diagram for OLInternetServerSocket:
Static Public Member Functions | |
(id) | + initialize |
Initialize the class when it is loaded into the runtime system. | |
(id) | + socket |
Create and return a new socket. | |
(id) | + socketWithLocalInternetAddress: |
Create and return a new socket. | |
(id) | + socketWithLocalInternetAddress:queueLength: |
Create and return a new socket. | |
(id) | + socketWithQueueLength: |
Create and return a new socket. |
This is a specialized server that operates within the Internet address family. It is capable of accepting connections from any Internet address family socket, including OLInternetClientSocket.
+ (id) initialize |
Initialize the class when it is loaded into the runtime system.
Please don't call this method.
+ (id) socket |
Create and return a new socket.
An unbound server socket is created that has a queue length of 50.
OLSocketException | if the socket cannot be created |
+ (id) socketWithLocalInternetAddress: | (OLInternetAddress *) | address |
Create and return a new socket.
A server socket is created that is bound to the local address and has a queue length of 50.
OLSocketException | if the socket cannot be created and bound |
address | the address to which the socket should be bound |
+ (id) socketWithLocalInternetAddress: | (OLInternetAddress *) | address | ||
queueLength: | (unsigned) | qLen | ||
Create and return a new socket.
A server socket is created that is bound to the local address and has a queue length of qLen.
OLSocketException | if the socket cannot be created and bound |
address | the address to which the socket should be bound | |
qLen | the length of the server's queue |
+ (id) socketWithQueueLength: | (unsigned) | qLen |
Create and return a new socket.
An unbound server socket is created that has a queue length of qLen.
OLSocketException | if the socket cannot be created |
qLen | the length of the server's queue |
|