Subversion Repositories Kolibri OS

Rev

Rev 9558 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9558 Rev 9620
Line 3... Line 3...
3
The main code is taken from the site:
3
The main code is taken from the site:
4
https://www.binarytides.com/whois-client-code-in-c-with-linux-sockets/
4
https://www.binarytides.com/whois-client-code-in-c-with-linux-sockets/
5
*/
5
*/
Line 6... Line 6...
6
 
6
 
7
#include 
-
 
8
int errno;
-
 
9
 
7
#include 
10
#include "sys/ksys.h"
8
#include "sys/ksys.h"
11
#include 
9
#include 
12
#include 	
10
#include 	
13
#include 	
11
#include 	
Line 41... Line 39...
41
char* str_copy(char*);
39
char* str_copy(char*);
Line 42... Line 40...
42
 
40
 
43
 
41
 
44
int main(int argc , char *argv[])
-
 
45
{	
42
int main(int argc , char *argv[])
46
	networklib_init();
43
{
Line 47... Line 44...
47
	char *domain , *data = NULL;
44
	char *domain , *data = NULL;
48
	int f_flag=0;
45
	int f_flag=0;