Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
307 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #ifndef SOCKETS_H |
---|
| 2 | #define SOCKETS_H |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | #include "../shared/sockets.h" |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | typedef struct sockaddr_in sockaddr_in; |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | // Server functions... |
---|
| 12 | int sock_create_server(); |
---|
| 13 | int sock_create_inet_socket(unsigned short int port); |
---|
| 14 | int sock_poll_clients(); |
---|
| 15 | int sock_close_all(); |
---|
| 16 | int read_from_client (int filedes); |
---|
| 17 | |
---|
| 18 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.