Async 1.8.0
AsyncIpAddress.h File Reference

Platform independent representation of an IP address. More...

#include <netinet/in.h>
#include <string>
#include <iostream>

Go to the source code of this file.

Classes

class  Async::IpAddress
 A class for representing an IP address in an OS independent way. More...
 

Namespaces

namespace  Async
 Namespace for the asynchronous programming classes.
 

Functions

std::ostream & Async::operator<< (std::ostream &os, const IpAddress &ip)
 
std::istream & Async::operator>> (std::istream &is, Async::IpAddress &ip)
 

Detailed Description

Platform independent representation of an IP address.

Author
Tobias Blomberg
Date
2003-04-12

Contains a class for representing an IP address in an OS independent way. Rigt now it can only handle IPv4 addresses.

Async - A library for programming event driven applications
Copyright (C) 2003-2022 Tobias Blomberg

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Definition in file AsyncIpAddress.h.