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

Mulitcast client definitions. More...

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

Go to the source code of this file.

Functions

int mcast_client (const char *mcast_group, int receiving_port)
 Executes multicast client application.
int ssm_client (const char *mcast_group, const char *ssm_source, int receiving_port)
 Executes source specific multicast client application.

Detailed Description

Mulitcast client definitions.

Author
Andrea Florio andre.nosp@m.a@op.nosp@m.ensus.nosp@m.e.or.nosp@m.g
Version
0.1
Date
2013

License

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 http://www.gnu.org/licenses/.

Function Documentation

int mcast_client ( const char *  mcast_group,
int  receiving_port 
)

Executes multicast client application.

Supports IPv4 only

Parameters
mcast_groupIs a string containing the multicast group address.
receiving_portIs an int containing the UDP port number the client will listen to.
Returns
#FALSE in case of error and the description where error occurred. In case of success the function will loop and never reach the end
int ssm_client ( const char *  mcast_group,
const char *  ssm_source,
int  receiving_port 
)

Executes source specific multicast client application.

Supports IPv4 only

Parameters
mcast_groupIs a string containing the multicast group address.
ssm_sourceIs a string containing the authorized source ip address.
receiving_portIs an int containing the UDP port number the client will listen to.
Returns
#FALSE in case of error and the description where error occurred. In case of success the function will loop and never reach the end