A server socket that communicates via the Internet.
More...
#import <ObjectiveLib/Socket.h>
List of all members.
Detailed Description
A server socket that communicates via the Internet.
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.
- See also:
- OLInternetClientSocket, OLInternetAddress
Member Function Documentation
Initialize the class when it is loaded into the runtime system.
Please don't call this method.
Create and return a new socket.
An unbound server socket is created that has a queue length of 50.
- Exceptions:
-
OLSocketException | if the socket cannot be created |
- Returns:
- a reference to the newly created socket
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.
- Exceptions:
-
OLSocketException | if the socket cannot be created and bound |
- Parameters:
-
address | the address to which the socket should be bound |
- Returns:
- a reference to the newly created socket
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.
- Exceptions:
-
OLSocketException | if the socket cannot be created and bound |
- Parameters:
-
address | the address to which the socket should be bound |
qLen | the length of the server's queue |
- Returns:
- a reference to the newly created socket
Create and return a new socket.
An unbound server socket is created that has a queue length of qLen.
- Exceptions:
-
OLSocketException | if the socket cannot be created |
- Parameters:
-
qLen | the length of the server's queue |
- Returns:
- a reference to the newly created socket
The documentation for this class was generated from the following file: