Language
The Free and Open Productivity Suite
PUBLIC MEMBERS: |
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA |
:: osl :: class DatagramSocket
- Base Classes
Socket (public)
|
+--DatagramSocket
- Known Derived Classes
- None.
virtual |
abstract |
interface |
template |
NO |
NO |
NO |
NO |
- Summary
- A connectionless socket to send and receive datagrams.
- File
- socket_decl.hxx
Public Members
-
Methods
|
DatagramSocket( oslAddrFamily Family = osl_Socket_FamilyInet, oslProtocol Protocol = osl_Socket_ProtocolIp, oslSocketType Type = osl_Socket_TypeDgram ); |
Creates a datagram socket.
|
sal_Int32
recvFrom( void * pBuffer, sal_uInt32 BufferSize, SocketAddr * pSenderAddr = 0, oslSocketMsgFlag Flag = osl_Socket_MsgNormal ); |
Tries to receives BufferSize data from the socket, if no error occurs.
|
sal_Int32
sendTo( const SocketAddr & ReceiverAddr, const void * pBuffer, sal_uInt32 BufferSize, oslSocketMsgFlag Flag = osl_Socket_MsgNormal ); |
|
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.