<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>BroadcastAddress class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Thu Oct 4 15:32:59 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>BroadcastAddress Class Reference</h1>The broadcast address object is used to store the broadcast address for a specific subnet. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="socket_h-source.html">socket.h</a>></code> <p> <p>Inheritance diagram for BroadcastAddress: <p><center><img src="class_broadcastaddress.gif" usemap="#BroadcastAddress_map" border="0"></center> <map name="BroadcastAddress_map"> <area href="class_inetaddress.html" alt="InetAddress" shape="rect" coords="0,0,116,24"> </map> <a href="class_broadcastaddress-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_broadcastaddress.html#a0">BroadcastAddress</a> (const char *net="255.255.255.255")</td></tr> <tr><td> </td><td><font size=-1><em>Specify the physical broadcast address to use and create a new broadcast address object based on a null terminated ASCII string.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The broadcast address object is used to store the broadcast address for a specific subnet. <p> This is commonly used for UDP broadcast operations. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="BroadcastAddress::BroadcastAddress"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> BroadcastAddress::BroadcastAddress ( </b></td> <td valign="bottom"><b> const char * <em>net</em> = "255.255.255.255" ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Specify the physical broadcast address to use and create a new broadcast address object based on a null terminated ASCII string. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>net</em> </td><td> null terminated ASCII network address. </td></tr> </table> </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="socket_h-source.html">socket.h</a></ul> <hr><address><small>Generated at Thu Oct 4 15:32:59 2001 for CommonC++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>