cleanup: put DEFAULT_REMOTE_IP and DEFAULT_REMOTE_PORT in utils.h
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user