cleanup: put DEFAULT_REMOTE_IP and DEFAULT_REMOTE_PORT in utils.h

This commit is contained in:
Cedric Roux
2016-06-17 11:14:14 +02:00
parent 031e6a024f
commit 9d49702639
4 changed files with 3 additions and 9 deletions
+3
View File
@@ -20,6 +20,9 @@ list *list_append(list *l, void *data);
/* socket */
/****************************************************************************/
#define DEFAULT_REMOTE_IP "127.0.0.1"
#define DEFAULT_REMOTE_PORT 2021
/* socket_send: return 0 if okay, -1 on error */
int socket_send(int socket, void *buffer, int size);
int get_connection(char *addr, int port);