You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
223 B
9 lines
223 B
#ifndef __SOCKET_H__
|
|
#define __SOCKET_H__
|
|
|
|
#include <arpa/inet.h> /* for in_port_t */
|
|
|
|
int initServerSocket(in_port_t port, int backlog);
|
|
int acceptConnection(int servSock, char remoteAddr[16]);
|
|
|
|
#endif /* __SOCKET_H__ */
|