first commit
This commit is contained in:
commit
3d07f7beaf
10 changed files with 473 additions and 0 deletions
13
utils.h
Normal file
13
utils.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
int create_connection(struct sockaddr_in *addr);
|
||||
void close_connection(int socket);
|
||||
|
||||
char *get_token(char *s);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue