source:
trunk/MagicSoft/Control/SubsystemIO/socket_functions.h@
1683
| Last change on this file since 1683 was 1041, checked in by , 24 years ago | |
|---|---|
| File size: 352 bytes | |
| Line | |
|---|---|
| 1 | #ifndef SOCKET_FUNCTIONS |
| 2 | #define SOCKET_FUNCTIONS |
| 3 | |
| 4 | |
| 5 | #include <stdlib.h> |
| 6 | #include <sys/socket.h> |
| 7 | #include <netinet/in.h> |
| 8 | #include <netdb.h> |
| 9 | |
| 10 | int make_socket (unsigned short int port); |
| 11 | void init_sockaddr (struct sockaddr_in *name, |
| 12 | const char *hostname, |
| 13 | unsigned short int port); |
| 14 | int prepare_socket (int sock ); |
| 15 | |
| 16 | |
| 17 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
