Fix Nullpointer

This commit is contained in:
PolynomialDivision 2017-07-17 23:36:06 +02:00
parent 70749ab488
commit cfd6944b97
3 changed files with 40 additions and 3 deletions

View file

@ -1,6 +1,10 @@
#ifndef __DAWN_NETWORKSOCKET_H
#define __DAWN_NETWORKSOCKET_H
#include <pthread.h>
pthread_mutex_t send_mutex;
int init_socket_runopts(char *_ip, char *_port, int broadcast_socket);
int send_string(char *msg);
void close_socket();