Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
Socket (public)
|
+--AcceptorSocket
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
AcceptorSocket( oslAddrFamily Family = osl_Socket_FamilyInet, oslProtocol Protocol = osl_Socket_ProtocolIp, oslSocketType Type = osl_Socket_TypeStream ); |
|
sal_Bool listen( sal_Int32 MaxPendingConnections = - 1 ); |
Prepare a socket for the accept-call. The socket must have been bound before to the local address. |
oslSocketResult acceptConnection( StreamSocket & Connection ); |
Accepts incoming connections on the socket. You must precede this call with bind() and listen(). |
oslSocketResult acceptConnection( StreamSocket & Connection, SocketAddr & PeerAddr ); |
Accepts incoming connections on the socket. You must precede this call with bind() and listen(). |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.