ASSA::UnConUDPSocket Class Reference

#include <UnConUDPSocket.h>

Inheritance diagram for ASSA::UnConUDPSocket:
ASSA::UDPSocket ASSA::Socket

List of all members.

Public Member Functions

 UnConUDPSocket ()
 Constructor.
 ~UnConUDPSocket ()
 Destructor.
int recvfrom (char *buf_, int size_, Address *peer_addr_)
 recvfrom() function receives a message from connectionless-mode socket.
int sendto (const char *buf_, const unsigned int size_, const Address *dest_addr_)
 sendto() function sends a message through connectionless-mode socket.
virtual int in_avail () const
 This function returns the number of characters immediately available in the get area of the underlying Socketbuf buffer without making a system call.

Detailed Description

Definition at line 26 of file UnConUDPSocket.h.


Constructor & Destructor Documentation

ASSA::UnConUDPSocket::UnConUDPSocket (  ) 

Constructor.

Definition at line 70 of file UnConUDPSocket.h.

References ASSA::SOCKTRACE, and trace_with_mask.

00070                   : UDPSocket() 
00071 {
00072     trace_with_mask ("UnConUDPSocket::UnConUDPSocket", SOCKTRACE);
00073 }

ASSA::UnConUDPSocket::~UnConUDPSocket (  ) 

Destructor.

Definition at line 76 of file UnConUDPSocket.h.

References ASSA::SOCKTRACE, and trace_with_mask.

00077 {
00078     trace_with_mask ("UnConUDPSocket::~UnConUDPSocket", SOCKTRACE);
00079 }


Member Function Documentation

virtual int ASSA::UnConUDPSocket::in_avail (  )  const [inline, virtual]

This function returns the number of characters immediately available in the get area of the underlying Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSocket.h.

00066 { return 0; }

int UnConUDPSocket::recvfrom ( char *  buf_,
int  size_,
Address peer_addr_ 
)

recvfrom() function receives a message from connectionless-mode socket.

It also permits the application to retrieve the source address of received data.

Parameters:
Socketbuf buffer without making a system call.

Always return 0.

Implements ASSA::Socket.

Definition at line 66 of file UnConUDPSo