Overview | Namespace | Class | Index | Help |
oslAddrFamily | Family = osl_Socket_FamilyInet, |
oslProtocol | Protocol = osl_Socket_ProtocolIp, |
oslSocketType | Type = osl_Socket_TypeStream ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | YES | NO |
sal_Int32 | MaxPendingConnections = - 1 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | YES | NO |
MaxPendingConnections | The maximum number of pending connections (waiting to be accepted) on this socket. If you use -1, a system default value is used. |
sal_True
if call was successful.
StreamSocket & | Connection ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | YES | NO |
Connection | receives the incoming connection. |
osl_Socket_Ok
, if a connection has been accepted,
osl_Socket_TimedOut
, if m_RecvTimeout milliseconds passed without connect,
osl_Socket_Error
on errors.
StreamSocket & | Connection, |
SocketAddr & | PeerAddr ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | YES | NO |
PeerAddr | receives the address of the connecting entity (your communication partner). |
Connection | receives the incoming connection. |
osl_Socket_Ok
, if a connection has been accepted,
osl_Socket_TimedOut
, if m_RecvTimeout milliseconds passed without connect,
osl_Socket_Error
on errors.
Copyright © 2003 Sun Microsystems, Inc.