File: socket_mcjoin4.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (14 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.TH socket_mcjoin4 3
.SH NAME
socket_mcjoin4 \- join a multicast group
.SH SYNTAX
.B #include <libowfat/socket.h>

int \fBsocket_mcjoin4\fP(int \fIs\fR,const char \fIgroupip\fR[4],const char \fIinterface\fR[4]);
.SH DESCRIPTION
socket_mcjoin4 joins the IPv4 multicast group \fIgroupip\fR on \fIinterface\fR.

If something goes wrong, socket_mcjoin4 returns -1, setting errno
appropriately.
.SH "SEE ALSO"
socket_mcleave4(3), socket_mcjoin6(3), socket_getifidx(3)