echo.h

Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <stdlib.h>
00003 #include <sys/types.h>
00004 #include <sys/socket.h>
00005 #include <netinet/in.h>
00006 #include <signal.h>
00007 #include <errno.h>
00008 #include <sys/wait.h>
00009 
00010 #define MAXLINE 256
00011 #define DEFAULT_PORT 12345
00012 
00013 void str_echo(int);
00014 void Writen(int, void *, size_t);
00015 ssize_t Readline(int fd, void *ptr, size_t maxlen);