home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / tcpip / ibmpc / 5046 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.3 KB

  1. Path: sparky!uunet!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!seven-up.East.Sun.COM!tyger.Eng.Sun.COM!geoff
  2. From: geoff@tyger.Eng.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top)
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: Re: TSRs ...
  5. Date: 4 Sep 1992 07:32:51 GMT
  6. Organization: SunSelect
  7. Lines: 34
  8. Message-ID: <1873f3INNk31@seven-up.East.Sun.COM>
  9. References: <Btx5J4.2tD@watserv1.uwaterloo.ca> <1992Sep2.130319.862@aspentec.com> <Btyu2v.AG3@watserv1.uwaterloo.ca> <1992Sep3.121205.863@aspentec.com>
  10. NNTP-Posting-Host: tyger.east.sun.com
  11.  
  12. Quoth tto@aspentec.com (in <1992Sep3.121205.863@aspentec.com>):
  13. #In article <Btyu2v.AG3@watserv1.uwaterloo.ca>, 
  14. #eengelke@sail.uwaterloo.ca (Erick Engelke) writes:
  15. #> tto@aspentec.com writes:
  16. #
  17. #>>Another nice thing about FTP's PC/TCP package is that it allows an easy
  18. #>>access to the global file descriptors.  With other packages one has
  19. #>>to do more work in order to share a descriptor among several applications.
  20. #>>(By the way, sharing file descriptors is one of the few things that can
  21. #>>be done more easily on DOS than on Unix.)
  22. #> 
  23. #> Yes, most of the others require you to change your PSP back to the 
  24. #> originator's.  That's easy enough when they provide source, but the 
  25. #> one's that don't are a true headache because you have to reverse engineer 
  26. #> or run through hoola hoops just to do shared access.  
  27.  
  28. In the case of PC-NFS, the reason you have to switch to the owner's
  29. PSP is because our socket handles are real file descriptors - you can
  30. read and write them using DOS calls. (When you referred earlier to
  31. FTP's "global file descriptors" you should have called them "private
  32. non-file socket descriptors".) Now you can argue whether or not having
  33. sockets be "real files" is more useful than having the freedom to
  34. manipulate descriptors at will - it certainly takes a lot of extra
  35. work on our part - but we found that we had a lot of Unix stuff
  36. to port which assumed that sockets were streams... And if sockets
  37. are (DOS) files, then you can't get around the need to switch PSP's.
  38.  
  39. Geoff
  40.  
  41. --
  42. Geoff Arnold, PC-NFS architect, Sun Select. (geoff.arnold@East.Sun.COM)
  43. -----------
  44. News software that enforces a four-line .signature limit is responsible for
  45. the fact that these postings just go on and on and on and seem to end in mid-
  46.