home *** CD-ROM | disk | FTP | other *** search
/ GRIPS 2: Government Rast…rocessing Software & Data / GRIPS_2.cdr / dos / ncsa_tel / contribu / byu_tel2.hqx / tcpip / netevent.h < prev    next >
Text File  |  1989-11-07  |  2KB  |  40 lines

  1.  
  2.  
  3.  
  4. #define USERCLASS    1
  5. #define ICMPCLASS    2
  6. #define ERRCLASS    4
  7. #define SCLASS        8
  8. #define CONCLASS    0x10
  9.  
  10. #define ERR1    1        /* an error message is waiting, ERRCLASS */
  11.  
  12. #define IREDIR    1        /* ICMP redirect, ICMPCLASS */
  13.  
  14. #define CONOPEN 1        /* connection has opened, CONCLASS */
  15. #define CONDATA 2       /* there is data available on this connection */
  16. #define CONCLOSE 3        /* the other side has closed its side of the connection */
  17. #define CONFAIL 4        /* connection open attempt has failed */
  18.  
  19. #define UDPDATA 1        /* UDP data has arrived on listening port, USERCLASS */
  20. #define DOMOK    2        /* domain name ready */
  21. #define DOMFAIL 3        /* domain name lookup failed */
  22. #define FTPCOPEN 20     /* FTP command connection has opened */
  23. #define FTPCLOSE 21     /* FTP command connection has closed */
  24. #define FTPBEGIN 22     /* FTP transfer beginning, dat =1 for get, 0 for put */
  25. #define FTPEND   23     /* FTP transfer ending */
  26. #define FTPLIST  24     /* FTP file listing taking place */
  27. #define FTPUSER  25     /* FTP user name has been entered */
  28. #define FTPPWOK    26        /* FTP password verified */
  29. #define FTPPWNO 27        /* FTP password failed */
  30. #define RCPBEGIN 30        /* RCP beginning */
  31. #define RCPEND 31        /* RCP ending */
  32.  
  33. #define UDPTO 1            /* UDP request from DOMAIN timed out, SCLASS */
  34. #define FTPACT 2        /* FTP transfer is active, keep sending */
  35. #define TCPTO  3        /* TCP for DOMAIN timed out */
  36. #define RCPACT 4        /* rcp is active, needs CPU time */
  37. #define RETRYCON 5        /* retry connection packet, might be lost */
  38. #define CLOSEDONE 6        /* Close completion routine has been called (for Mac Drivers only) */
  39. #define UDATA 7            /* BYU mod - client ftp active */
  40.