mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
add comments
This commit is contained in:
parent
f9d7ac0adf
commit
10f59a10cd
4 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef __DAWN_BROADCASTSOCKET_H
|
||||
#define __DAWN_BROADCASTSOCKET_H
|
||||
|
||||
// TODO: Consider to remove this...
|
||||
|
||||
int setup_broadcast_socket(const char *_broadcast_ip, unsigned short _broadcast_port, struct sockaddr_in *addr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef __DAWN_MULTICASTSTSOCKET_H
|
||||
#define __DAWN_MULTICASTSSOCKET_H
|
||||
|
||||
// TODO: Consider to remove this...
|
||||
|
||||
int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_port, struct sockaddr_in *addr);
|
||||
|
||||
int remove_multicast_socket(int socket);
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
#include "networksocket.h"
|
||||
#include "broadcastsocket.h"
|
||||
|
||||
// TODO: Consider to remove this...
|
||||
|
||||
|
||||
int setup_broadcast_socket(const char *_broadcast_ip, unsigned short _broadcast_port, struct sockaddr_in *addr) {
|
||||
int sock;
|
||||
int broadcast_permission;
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
|
||||
#include "multicastsocket.h"
|
||||
|
||||
// TODO: Consider to remove this...
|
||||
|
||||
|
||||
static struct ip_mreq command;
|
||||
|
||||
int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_port, struct sockaddr_in *addr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue