/* Włącz standardowe nagłówki */

#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <netdb.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#define TRUE			1
#define FALSE			0
#define NLISTEN                 5

extern char *program_name;		/* dla funkcji błędów */

void error( int, int, char*, ... );
int tcp_server( char *, char * );
int tcp_client( char *, char * );
void set_address( char *, char *, struct sockaddr_in *, char * );

