home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / network / netlib_1 / ReadMe1st
Text File  |  1996-02-02  |  966b  |  26 lines

  1.  
  2. NetLib - the programmer's interface to FreeNet. 
  3.  
  4. Read !NetLib.README for more information (including changelog)
  5.  
  6. The sources are seperated out into NetLibSrc where they can be rebuilt 
  7. with the supplied MakeFile if necessary.  The !NetLib directory defines 
  8. 2 paths (NetLib$Path and Internet$Path).  The !NetLib directory contains 
  9. all the headers files in the usual UNIX places. 
  10.  
  11. Note that these headers are Acorn C compiler specific (assumes 16bit shorts) 
  12.  
  13. Note you cannot use paths in #include statements like:   "netlib:netinet/in.h" 
  14. I recommend using #include "netinet/in.h" and having -Inetlib: on the command 
  15. line to cc. 
  16.  
  17. The headers are subject to change. 
  18.  
  19. NOTE: two functions (close & shutdown) have no prototype in these header
  20. files, since there is a potential library name clash with these functions.
  21. If you want to prototype them, then the prototypes you need are:
  22.  
  23. extern int close(int /*s*/);
  24. extern int shutdown(int /*s*/, int /*how*/);
  25.  
  26.