home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6824 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: nntp.hut.fi!usenet
  2. From: oahvenla@hyppynaru.cs.hut.fi (Osma Ahvenlampi)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Sockets Programming
  5. Date: 03 Apr 1996 18:45:16 +0300
  6. Organization: What, me, organised?
  7. Sender: oahvenla@hyppynaru.cs.hut.fi
  8. Distribution: inet
  9. Message-ID: <jdj20m55n1v.fsf@hyppynaru.cs.hut.fi>
  10. References: <828440616.12487@bussys.demon.co.uk>
  11. NNTP-Posting-Host: hyppynaru.cs.hut.fi
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. In-reply-to: Andrew@bussys.demon.co.uk's message of Tue, 02 Apr 1996 11:25:44
  15.     GMT
  16. X-Newsreader: Gnus v5.1
  17.  
  18. In article <828440616.12487@bussys.demon.co.uk> Andrew@bussys.demon.co.uk (Andrew Miller) writes:
  19. >Having used sockets under the UNIX environment and under Windows I'm
  20. >curious to know if the same is available for the Amiga. If so where
  21. >can I obtain the necessary software from ?
  22.  
  23. Both the I-Net225 (or AS225) and AmiTCP/IP are based on BSD sockets,
  24. and thus the API is very similar to both UNIX and Windows. In many
  25. ways, it is closer to the original UNIX API, but there are some
  26. resemblances to the Windows Sockets API since these are, as Windows,
  27. designed for a GUI environment. However, while Windows (necessarily,
  28. because of the lack of true multitasking in version 3) puts a lot of
  29. weight on making the sockets asynchronous and event-driven, this is
  30. not as important on Amiga. In fact, the only major difference to the
  31. BSD sockets is teh addition of the selectwait() (or WaitSelect() in
  32. AmiTCP) function that waits on socket events as well as on standard
  33. Exec signal bits. Previously neither of the stacks let you use ANSI C
  34. or UNIX-lookalike file I/O (or Level 2 and Level 1 I/O as known to the
  35. SAS/C environment) on sockets, but this has changed since the SDKs of
  36. both stacks contain a link library that replaces the necessary
  37. compiler library functions.
  38.  
  39. The third possibility, together with the GCC compiler, is to use the
  40. V42 ixemul.library functions, which will, together with a suitable
  41. ixnet.library, function under either of the stacks, and provide socket
  42. API very close to the UNIX sockets.
  43.  
  44. I-Net225, AmiTCP and ixemul SDKs are all available on Aminet.
  45.  
  46. -- 
  47. Three can keep a secret, if two are dead. 
  48. | "Osma Ahvenlampi" <mailto:oa@iki.fi> <http://www.iki.fi/oa/> |
  49. | Amiga&BeBox&ClassAct&Voodoo&ARTech cool stuff: I-Net225&AWeb |
  50.                                                               --
  51.