comparison mcabber/src/socket.c @ 28:0cd8025eebee

[/trunk] Changeset 44 by mikael * Some more fixes. * We can now build with GNU99 gcc extensions.
author mikael
date Mon, 28 Mar 2005 10:36:47 +0000
parents 8588f5a4b638
children
comparison
equal deleted inserted replaced
27:77e6bd2ccde6 28:0cd8025eebee
1 #include <stdio.h> 1 #include <stdio.h>
2 #include <stdlib.h> 2 #include <stdlib.h>
3 #include <string.h> 3 #include <string.h>
4 #include <sys/socket.h> 4 #include <sys/socket.h>
5 #include <unistd.h> 5 #include <unistd.h>
6 #include "utils.h"
7
8 #include "socket.h"
9 #include <signal.h> 6 #include <signal.h>
10 7
11 #include "screen.h" // FIXME to be removed 8 #include "utils.h"
9 #include "socket.h"
10 #include "screen.h"
12 11
13 /* Desc: create socket connection 12 /* Desc: create socket connection
14 * 13 *
15 * In : servername, port 14 * In : servername, port
16 * Out : socket (or -1 on error) 15 * Out : socket (or -1 on error)