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

strmod::ehnet Namespace Reference

Some classes to handle network addresses, should be overhauled. More...


Compounds

class  InetAddress
 An IPV4 TCP or UDP address. More...

class  NET_ClassIdent
class  SocketAddress
 C++ class wrapper for struct ::sockaddr from sys/socket.h. More...


Functions

inline::std::ostream & operator<< (::std::ostream &os, SocketAddress &sa)


Detailed Description

Some classes to handle network addresses, should be overhauled.

The only notable classes in here are SocketAddress and InetAddress. SocketAddress represents a generic network address that can be fed in as the argument to a 'connect' or 'bind' system call. InetAddress represents an IPV4 address.

If these were really well done, I'd have IPV4Address, IPV4TCPAddress, and IPV4tUDPAddress. Then IPV4Address wouldn't have a port number, and the other two would. But, as mention previously, these classes desparately need overhauling, not the least because they use DNS synchronously and can mysteriously halt your program waiting for DNS queries to resolve.


Generated on Wed Jan 29 00:32:47 2003 for libNet by doxygen1.3-rc1