The R Project SVN R

Rev

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

Rev 59039 Rev 59198
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
 
3
 
4
 *  Copyright (C) 1998-2006   Robert Gentleman, Ross Ihaka and the
-
 
5
 *                            R Core Team
4
 *  Copyright (C) 1998-2012   The R Core Team
6
 *
5
 *
7
 *  This program is free software; you can redistribute it and/or modify
6
 *  This program is free software; you can redistribute it and/or modify
8
 *  it under the terms of the GNU General Public License as published by
7
 *  it under the terms of the GNU General Public License as published by
9
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  (at your option) any later version.
9
 *  (at your option) any later version.
Line 53... Line 52...
53
/* from Rsock.c, for sockconn.c */
52
/* from Rsock.c, for sockconn.c */
54
int R_SockOpen(int port);
53
int R_SockOpen(int port);
55
int R_SockListen(int sockp, char *buf, int len, int timeout);
54
int R_SockListen(int sockp, char *buf, int len, int timeout);
56
int R_SockConnect(int port, char *host, int timeout);
55
int R_SockConnect(int port, char *host, int timeout);
57
int R_SockClose(int sockp);
56
int R_SockClose(int sockp);
58
int R_SockRead(int sockp, void *buf, int maxlen, int blocking, int timeout);
57
ssize_t R_SockRead(int sockp, void *buf, size_t maxlen, int blocking, int timeout);
59
int R_SockWrite(int sockp, const void *buf, int len, int timeout);
58
ssize_t R_SockWrite(int sockp, const void *buf, size_t len, int timeout);
60
 
59
 
61
/* from Rhttpd.c */
60
/* from Rhttpd.c */
62
int in_R_HTTPDCreate(const char *ip, int port);
61
int in_R_HTTPDCreate(const char *ip, int port);
63
void in_R_HTTPDStop(void);
62
void in_R_HTTPDStop(void);