simple-multicast  0.2.1
 All Files Functions Typedefs Macros Pages
mcast-server.h File Reference

Mulitcast server definitions. More...

#include "../compatibility.h"
Include dependency graph for mcast-server.h:

Go to the source code of this file.


int mcast_server (const char *mcast_group, int destination_port, int delay_s)
 Executes multicast server application.

Detailed Description

Mulitcast server definitions.

Andrea Florio andre.nosp@m.a@op.nosp@m.ensus.nosp@m.e.or.nosp@m.g


Copyright (C) 2013
Andrea Florio 2013 andre.nosp@m.a@op.nosp@m.ensus.nosp@m.e.or.nosp@m.g

This Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This Project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Function Documentation

int mcast_server ( const char *  mcast_group,
int  destination_port,
int  delay_s 

Executes multicast server application.

Supports IPv4 only

mcast_groupIs a string containing the multicast group address.
destination_portIs an int containing the destinaion UDP port number.
delay_sIs an int (in seconds) defining the sleep period between packets.
#FALSE in case of error and the description where error occurred. In case of success the function will loop and never reach the end