Unix and Linux Discussions Tagged with internet |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
13 |
26,935 |
Programming |
|
|
|
4 |
2,953 |
Shell Programming and Scripting |
|
|
|
2 |
7,206 |
Hardware |
|
|
|
1 |
2,331 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
4,451 |
Shell Programming and Scripting |
|
|
|
6 |
4,032 |
Linux |
|
|
|
7 |
67,202 |
IP Networking |
|
|
|
1 |
2,745 |
Solaris |
|
|
|
4 |
14,438 |
Filesystems, Disks and Memory |
|
|
|
2 |
4,198 |
Solaris |
|
|
|
1 |
3,924 |
IP Networking |
|
|
|
0 |
4,273 |
IP Networking |
|
|
|
1 |
4,758 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
15,541 |
Emergency UNIX and Linux Support |
|
|
|
1 |
7,627 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
14,581 |
Linux |
|
|
|
7 |
7,096 |
IP Networking |
|
|
|
7 |
5,948 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,498 |
Linux |
|
|
|
2 |
3,281 |
Cybersecurity |
|
|
|
0 |
1,905 |
Software Releases - RSS News |
|
|
|
3 |
2,792 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,361 |
Software Releases - RSS News |
|
|
|
0 |
1,703 |
Software Releases - RSS News |
|
|
|
1 |
2,762 |
Solaris |
|
|
|
5 |
5,113 |
Solaris |
|
|
|
0 |
2,146 |
IT Security RSS |
|
|
|
0 |
2,091 |
Software Releases - RSS News |
|
|
|
0 |
1,399 |
Security Advisories (RSS) |
|
|
|
0 |
2,214 |
IT Security RSS |
|
|
|
0 |
1,897 |
Cartoons for Geeks |
|
|
|
0 |
3,992 |
UNIX and Linux RSS News |
|
|
|
7 |
7,252 |
Solaris |
|
|
|
0 |
3,570 |
Cartoons for Geeks |
|
|
|
0 |
1,207 |
Software Releases - RSS News |
|
|
|
0 |
2,613 |
OS X Support RSS |
|
|
|
0 |
1,231 |
Software Releases - RSS News |
|
|
|
0 |
2,271 |
OS X Support RSS |
|
|
|
0 |
2,251 |
OS X Support RSS |
|
|
|
0 |
1,159 |
Software Releases - RSS News |
ost::IPV4Host(3) Library Functions Manual ost::IPV4Host(3)
NAME
ost::IPV4Host -
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
SYNOPSIS
#include <address.h>
Inherits ost::IPV4Address.
Public Member Functions
IPV4Host (const char *host=NULL)
Create a new host address for a specific internet host.
IPV4Host (struct in_addr addr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object.
IPV4Address & operator= (unsigned long addr)
Allows assignment from the return of functions like inet_addr() or htonl()
IPV4Host & operator&= (const IPV4Mask &mask)
Mask the internet host address object with a network mask address.
Friends
class __EXPORT IPV4Mask
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask)
Additional Inherited Members
Detailed Description
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
Author:
David Sugar dyfet@ostel.com Address of a specific Internet host machine.
Constructor & Destructor Documentation
ost::IPV4Host::IPV4Host (const char *host = NULL)
Create a new host address for a specific internet host. The internet host can be specified in a null terminated ASCII string and include
either the physical host address or the DNS name of a host machine. Hence, an IPV4Host ('www.voxilla.org') can be directly declaired in
this manner.
Defaults to the IP address that represents the interface matching 'gethostname()'.
Parameters:
host dns or physical address of an Internet host.
ost::IPV4Host::IPV4Host (struct in_addraddr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object. Parameters:
addr binary address of internet host.
Member Function Documentation
IPV4Host& ost::IPV4Host::operator&= (const IPV4Mask &mask)
Mask the internet host address object with a network mask address. This is commonly used to coerce an address by subnet.
IPV4Address& ost::IPV4Host::operator= (unsigned longaddr) [inline]
Allows assignment from the return of functions like inet_addr() or htonl()
Reimplemented from ost::IPV4Address.
References ost::IPV4Address::operator=().
Friends And Related Function Documentation
friend class __EXPORT IPV4Mask [friend]
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask) [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV4Host(3)