Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

UDPSocket Class Reference

#include <UDPSocket.h>

Inheritance diagram for UDPSocket::

PosixUDPSocket PosixUDPSocket Socket Socket PosixSocket PosixSocket PosixSocket PosixSocket List of all members.

Public Methods

 UDPSocket (u_short port=0, const char *addr=NULL, u_short range=1)
int recv (void *buf, int nbytes, u_long timeout=0)
int send (const void *buf, int nbytes)
int recv (void *buf, int nbytes, u_long &addr, u_short &port)
int send (const void *buf, int nbytes, u_long addr, u_short port)
int send (const void *buf, int nbytes, const char *addr, u_short port)
 UDPSocket (u_short port=0, const char *addr=NULL, u_short range=1)
int recv (void *buf, int nbytes, u_long timeout=0)
int send (const void *buf, int nbytes)
int recv (void *buf, int nbytes, u_long &addr, u_short &port)
int send (const void *buf, int nbytes, u_long addr, u_short port)
int send (const void *buf, int nbytes, const char *addr, u_short port)

Constructor & Destructor Documentation

UDPSocket::UDPSocket u_short    port = 0,
const char *    addr = NULL,
u_short    range = 1
[inline]
 

Definition at line 12 of file Solaris/UDPSocket.h.

UDPSocket::UDPSocket u_short    port = 0,
const char *    addr = NULL,
u_short    range = 1
[inline]
 

Definition at line 12 of file WinNT/UDPSocket.h.


Member Function Documentation

int UDPSocket::recv void *    buf,
int    nbytes,
u_long &    addr,
u_short &    port
 

int UDPSocket::recv void *    buf,
int    nbytes,
u_long    timeout = 0
 

int UDPSocket::recv void *    buf,
int    nbytes,
u_long &    host,
u_short &    port
 

Definition at line 20 of file Solaris/UDPSocket.cpp.

References PosixSocket::_sockFD.

int UDPSocket::recv void *    buf,
int    nbytes,
u_long    timeout = 0
 

Definition at line 4 of file Solaris/UDPSocket.cpp.

References PosixSocket::_sockFD, and PosixSocket::wait().

Referenced by UDPInputStream::read().

int UDPSocket::send const void *    buf,
int    nbytes,
const char *    addr,
u_short    port
 

int UDPSocket::send const void *    buf,
int    nbytes,
u_long    addr,
u_short    port
 

int UDPSocket::send const void *    buf,
int    nbytes
 

int UDPSocket::send const void *    buf,
int    nbytes,
const char *    addr,
u_short    port
 

Definition at line 50 of file Solaris/UDPSocket.cpp.

References send().

int UDPSocket::send const void *    buf,
int    nbytes,
u_long    host,
u_short    port
 

Definition at line 37 of file Solaris/UDPSocket.cpp.

References PosixSocket::_sockFD.

int UDPSocket::send const void *    buf,
int    nbytes
 

Definition at line 14 of file Solaris/UDPSocket.cpp.

References PosixSocket::_sockFD.

Referenced by send(), and UDPOutputStream::write().


The documentation for this class was generated from the following files:
Generated on Mon Oct 7 09:33:37 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001