Methods of Class ConnectorSocket
- ConnectorSocket
- ConnectorSocket(
-
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
(like osl_Socket_TypeSeqPacket ).
Therefore we do not hide this parameter here.
|
- connect
- oslSocketResult connect(
-
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_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.
Top of Page
Copyright © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.