client.h 220 B

1234567891011121314151617
  1. #ifndef CLIENT_H
  2. #define CLIENT_H
  3. #include <pthread.h>
  4. #define FREE_CONNECT_TIME 60
  5. struct client_param {
  6. int p1;
  7. int p2;
  8. int pid;
  9. char remote_ip[128];
  10. };
  11. pthread_t start_client(struct client_param* cp);
  12. #endif