Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
Socket (public) | +--DatagramSocket
virtual | abstract | interface | template |
NO | NO | NO | NO |
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 ); |
Copyright © 2003 Sun Microsystems, Inc.