Methods of Class AcceptorSocket
- AcceptorSocket
- AcceptorSocket(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- listen
- sal_Bool listen(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Prepare a socket for the accept-call. The socket must have been
bound before to the local address.
- Parameters
MaxPendingConnections |
The maximum number of pending
connections (waiting to be accepted) on this socket. If you use
-1, a system default value is used.
|
- Return
sal_True
if call was successful.
- acceptConnection
- oslSocketResult acceptConnection(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Accepts incoming connections on the socket. You must
precede this call with osl::Socket::bind() and listen().
- Parameters
Connection |
receives the incoming connection.
|
- Return
osl_Socket_Ok
, if a connection has been accepted,
osl_Socket_TimedOut
, if m_RecvTimeout milliseconds passed without connect,
osl_Socket_Error
on errors.
- acceptConnection
- oslSocketResult acceptConnection(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Accepts incoming connections on the socket. You must
precede this call with osl::Socket::bind() and listen().
- Parameters
PeerAddr |
receives the address of the connecting entity
(your communication partner).
|
Connection |
receives the incoming connection.
|
- Return
osl_Socket_Ok
, if a connection has been accepted,
osl_Socket_TimedOut
, if m_RecvTimeout milliseconds passed without connect,
osl_Socket_Error
on errors.
Top of Page
Copyright © 2000, 2018 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.