Initial revision
This commit is contained in:
commit
2635c3085d
139 files changed
+24298
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#ifndef SOCKETS_H
|
||||
#define SOCKETS_H
|
||||
|
||||
|
||||
#include "../shared/sockets.h"
|
||||
|
||||
|
||||
typedef struct sockaddr_in sockaddr_in;
|
||||
|
||||
|
||||
// Server functions...
|
||||
int sock_create_server();
|
||||
int sock_create_inet_socket(unsigned short int port);
|
||||
int sock_poll_clients();
|
||||
int sock_close_all();
|
||||
int read_from_client (int filedes);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user