source: trunk/MagicSoft/Control/SubsystemIO/socket_functions.h@ 7082

Last change on this file since 7082 was 1041, checked in by casaldaliga, 23 years ago
First release
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
10int make_socket (unsigned short int port);
11void init_sockaddr (struct sockaddr_in *name,
12 const char *hostname,
13 unsigned short int port);
14int prepare_socket (int sock );
15
16
17#endif
Note: See TracBrowser for help on using the repository browser.