File: UDPBroadcast.3cc

package info (click to toggle)
libcommoncpp2 1.0.13-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,740 kB
  • ctags: 2,860
  • sloc: cpp: 18,857; sh: 8,451; ansic: 1,546; makefile: 299; xml: 5
file content (64 lines) | stat: -rw-r--r-- 1,699 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH "UDPBroadcast" 3 "19 Jul 2003" "CommonC++" \" -*- nroff -*-
.ad l
.nh
.SH NAME
UDPBroadcast \- Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and \fBsetPeer()\fP capability for UDP sockets. Unreliable Datagram for subnet broadcasts. 
.SH SYNOPSIS
.br
.PP
\fC#include <socket.h>\fP
.PP
Inherits \fBUDPSocket\fP.
.PP
.SS "Public Methods"

.in +1c
.ti -1c
.RI "\fBUDPBroadcast\fP (const \fBInetAddress\fP &ia, \fBtpport_t\fP port)"
.br
.RI "\fICreate and bind a subnet broadcast socket.\fP"
.ti -1c
.RI "void \fBsetPeer\fP (const \fBBroadcastAddress\fP &subnet, \fBtpport_t\fP port)"
.br
.RI "\fISet peer by subnet rather than specific host.\fP"
.in -1c
.SH "DETAILED DESCRIPTION"
.PP 
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and \fBsetPeer()\fP capability for UDP sockets. Unreliable Datagram for subnet broadcasts.
.PP
\fBAuthor: \fP
.in +1c
David Sugar <dyfet@ostel.com> 
.PP
.SH "CONSTRUCTOR & DESTRUCTOR DOCUMENTATION"
.PP 
.SS "UDPBroadcast::UDPBroadcast (const \fBInetAddress\fP & ia, \fBtpport_t\fP port)"
.PP
Create and bind a subnet broadcast socket.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIia\fP\fP
address to bind socket under locally. 
.TP
\fB\fIport\fP\fP
to bind socket under locally. 
.SH "MEMBER FUNCTION DOCUMENTATION"
.PP 
.SS "void UDPBroadcast::setPeer (const \fBBroadcastAddress\fP & subnet, \fBtpport_t\fP port)"
.PP
Set peer by subnet rather than specific host.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIsubnet\fP\fP
of peer hosts to send to. 
.TP
\fB\fIport\fP\fP
number to use. 

.SH "AUTHOR"
.PP 
Generated automatically by Doxygen for CommonC++ from the source code.