| Overview | Namespace | Class | Index | Help | 
Methods of Class ConnectorSocket
- ConnectorSocket
 - ConnectorSocket(
 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 
- Summary
 - Creates a socket that can connect to a (remote) host.
 - Parameters
 Type For some protocols it might be desirable to use a different type than sock_stream
osl_Socket_TypeSeqPacket(likeosl_Socket_TypeSeqPacket). Therefore we do not hide this parameter here.
- connect
 - oslSocketResult connect(
 const SocketAddr & TargetHost, const TimeValue * pTimeout = 0 ); 
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO 
- Summary
 - Connects the socket to a (remote) host.
 - Parameters
 TargetHost The address of the target.
pTimeOut The timeout for blocking. If 0, a default system dependent timeout us used.- Return
 osl_Socket_Okif connected successfully,osl_Socket_TimedOuton timeout,osl_Socket_Interruptedif unblocked forcefully (by osl::Socket::close()),osl_Socket_Errorif connect failed.
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.

