Overview | Namespace | Class | 索引 | Help |
Methods of Class ConnectorSocket
- ConnectorSocket
- ConnectorSocket(
oslAddrFamily Family = osl_Socket_FamilyInet, oslProtocol 議定書 = osl_Socket_ProtocolIp, oslSocketType Type = osl_Socket_TypeStream );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO NO
- 要約
- Creates a socket that can connect to a (remote) host.
- Parameters
Type For some 議定書s it might be 望ましい 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 );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO NO
- 要約
- Connects the socket to a (remote) host.
- Parameters
TargetHost The 演説(する)/住所 of the 的.
pTimeOut The timeout for 封鎖するing. If 0, a default system 扶養家族 timeout us used.
- Return
osl_Socket_Ok
if connected 首尾よく,osl_Socket_TimedOut
on timeout,osl_Socket_Interrupted
if unblocked forcefully (by osl::Socket::の近くに()),osl_Socket_Error
if connect failed.
最高の,を越す of Page
Copyright © 2012, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.