The R Project SVN R

Rev

Rev 68392 | Rev 68949 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68392 Rev 68899
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 2009-12 The R Core Team.
3
 *  Copyright (C) 2009-2015 The R Core Team.
4
 *
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU General Public License as published by
6
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 2 of the License, or
7
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 62... Line 62...
62
# include <R_ext/eventloop.h>
62
# include <R_ext/eventloop.h>
63
# include <sys/types.h>
63
# include <sys/types.h>
64
# ifdef HAVE_UNISTD_H
64
# ifdef HAVE_UNISTD_H
65
#  include <unistd.h>
65
#  include <unistd.h>
66
# endif
66
# endif
67
# ifdef HAVE_BSD_NETWORKING
-
 
68
#  include <netdb.h>
67
# include <netdb.h>
69
#  include <sys/socket.h>
68
# include <sys/socket.h>
70
#  include <netinet/in.h>
69
# include <netinet/in.h>
71
#  include <arpa/inet.h>
70
# include <arpa/inet.h>
72
# endif
-
 
73
# include <errno.h>
71
# include <errno.h>
74
 
72
 
75
# define sockerrno errno
73
# define sockerrno errno
76
# define SOCKET int
74
# define SOCKET int
77
# define INVALID_SOCKET (-1)
75
# define INVALID_SOCKET (-1)