oscpkt::SockAddr Class Reference

#include <udp.hh>

List of all members.

Public Member Functions

struct sockaddr & addr ()
struct sockaddr & addr () const
size_t maxLen () const
size_t actualLen () const
bool empty () const
int getPort () const
std::string asString () const

Friends

std::ostream & operator<< (std::ostream &os, const SockAddr &ip)

Detailed Description

a wrapper class for holding an ip address, mostly used internnally


Member Function Documentation

int oscpkt::SockAddr::getPort (  )  const [inline]

retrieve the current port number, -1 in case of error


The documentation for this class was generated from the following file:
 All Classes Functions

Generated by  doxygen 1.6.2