| 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 | NO | NO |
| Type | For some protocols it might be desirable to use a different type than sock_stream |
| const SocketAddr & | TargetHost, |
| const TimeValue * | pTimeout = 0 ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | NO | NO |
| TargetHost | The address of the target. |
| pTimeOut | The timeout for blocking. If 0, a default system dependent timeout
us used.
|
osl_Socket_Ok if connected successfully,
osl_Socket_TimedOut on timeout,
osl_Socket_Interrupted if unblocked forcefully (by osl::Socket::close()),
osl_Socket_Error if connect failed.
Copyright © 2003 Sun Microsystems, Inc.