Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
Socket (public) | +--StreamSocket
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
StreamSocket( oslAddrFamily Family = osl_Socket_FamilyInet, oslProtocol Protocol = osl_Socket_ProtocolIp, oslSocketType Type = osl_Socket_TypeStream ); |
Creates a socket. |
StreamSocket( const StreamSocket & ); |
|
StreamSocket( oslSocket Socket, __sal_NoAcquire noacquire ); |
|
StreamSocket( oslSocket Socket ); |
|
sal_Int32 read( void * pBuffer, sal_uInt32 n ); |
|
sal_Int32 write( const void * pBuffer, sal_uInt32 n ); |
Writes n bytes from pBuffer to the stream. The method avoids incomplete writes due to packet boundaries and is thus blocking. |
sal_Int32 recv( void * pBuffer, sal_uInt32 BytesToRead, oslSocketMsgFlag flags = osl_Socket_MsgNormal ); |
Tries to receive BytesToRead data from the connected socket, |
sal_Int32 send( const void * pBuffer, sal_uInt32 BytesToSend, oslSocketMsgFlag = osl_Socket_MsgNormal ); |
Tries to send BytesToSend data to the connected socket. |
Copyright © 2000, 2016 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.