2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

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

Ux::SockAddrIn Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::SockAddrIn:

Ux::SockAddr Ux::Base List of all members.

Detailed Description

Definition at line 124 of file uxsocket.hpp.

Public Member Functions

 SockAddrIn (in_port_t port, struct in_addr &sa)
 SockAddrIn (in_port_t port, in_addr_t ipv4)
 SockAddrIn (in_port_t port, const char *dotted)
void set (in_port_t port, struct in_addr &sa)
void set (in_port_t port, in_addr_t ipv4)
void set (in_port_t port, const char *dotted)


Constructor & Destructor Documentation

Ux::SockAddrIn::SockAddrIn in_port_t  port,
struct in_addr &  sa
[inline]
 

Definition at line 126 of file uxsocket.hpp.

References set().

Ux::SockAddrIn::SockAddrIn in_port_t  port,
in_addr_t  ipv4
[inline]
 

Definition at line 128 of file uxsocket.hpp.

References set().

Ux::SockAddrIn::SockAddrIn in_port_t  port,
const char *  dotted
[inline]
 

Definition at line 130 of file uxsocket.hpp.

References set().


Member Function Documentation

void SockAddrIn::set in_port_t  port,
const char *  dotted
 

Sets up socet address directly from dotted string.

Definition at line 122 of file uxsocket.cpp.

References set().

void SockAddrIn::set in_port_t  port,
in_addr_t  ipv4
 

Sets up socet address directly from an IPv4 as a 32-bit number.

Definition at line 111 of file uxsocket.cpp.

References set().

void SockAddrIn::set in_port_t  port,
struct in_addr &  sa
 

Sets up socet address directly from a struct in_addr.

Definition at line 98 of file uxsocket.cpp.

References Ux::SockAddr::set_len(), sockaddr_in::sin_addr, sockaddr_in::sin_family, and sockaddr_in::sin_port.

Referenced by set(), and SockAddrIn().


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:17 2004 for AUP2 Example Source by doxygen 1.3.1