You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
463 B
Groff

.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)