tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_connect.h
Date Mon, 08 Nov 2004 13:28:31 GMT
mturk       2004/11/08 05:28:31

  Modified:    jk/native/common jk_connect.h
  Log:
  Add socket timout to open_socket
  
  Revision  Changes    Path
  1.10      +11 -8     jakarta-tomcat-connectors/jk/native/common/jk_connect.h
  
  Index: jk_connect.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_connect.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jk_connect.h	8 Oct 2004 07:50:40 -0000	1.9
  +++ jk_connect.h	8 Nov 2004 13:28:31 -0000	1.10
  @@ -35,18 +35,21 @@
   {
   #endif                          /* __cplusplus */
   
  -    int jk_resolve(char *host, int port, struct sockaddr_in *rc);
  +int jk_resolve(char *host, int port, struct sockaddr_in *rc);
   
  -    int jk_open_socket(struct sockaddr_in *addr,
  -                       int ndelay, int keepalive, jk_logger_t *l);
  +int jk_open_socket(struct sockaddr_in *addr, int ndelay,
  +                   int keepalive, int timeout, jk_logger_t *l);
   
  -    int jk_close_socket(int s);
  +int jk_close_socket(int s);
   
  -    int jk_tcp_socket_sendfull(int sd, const unsigned char *b, int len);
  +int jk_tcp_socket_sendfull(int sd, const unsigned char *b, int len);
   
  -    int jk_tcp_socket_recvfull(int sd, unsigned char *b, int len);
  +int jk_tcp_socket_recvfull(int sd, unsigned char *b, int len);
  +
  +char *jk_dump_hinfo(struct sockaddr_in *saddr, char *buf);
  +
  +int jk_socket_timeout_set(int sd, int timeout, int t);
   
  -    char *jk_dump_hinfo(struct sockaddr_in *saddr, char *buf);
   
   #ifdef __cplusplus
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message