home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / vmsnet / networks / desktop / pathwork / 3828 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.0 KB

  1. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!gaspard_r
  2. From: gaspard_r@kosmos.wcc.govt.nz
  3. Newsgroups: vmsnet.networks.desktop.pathworks
  4. Subject: Programming under Pathworks for DOS
  5. Date: 22 Dec 92 21:59:42 NZST
  6. Organization: Welligton City Council, Public Access.
  7. Lines: 30
  8. Message-ID: <1992Dec22.215942.1@kosmos.wcc.govt.nz>
  9. NNTP-Posting-Host: kosmos.wcc.govt.nz
  10.  
  11. Programming under Pathworks for DOS ...
  12.  
  13.    1.    Is it possible to perform asynchronous network receives and transmits
  14.     under Pathworks for DOS, over a task-to-task logical link?  
  15.     In other words, can a program initiate a network receive or transmit
  16.     operation, and continue processing before the operation has completed
  17.     and the data received by this end or the other end of the logical link?
  18.  
  19.    2.    Is it possible to have concurrent receive and transmit operations in
  20.     progress at the same time, over the one task-to-task logical link?
  21.  
  22.     For standard DOS I/O operations like disk file I/O, it is not possible
  23.     to have two concurrent I/O operations because DOS itself is not
  24.     reentrant.  But does this restriction apply to Pathworks?
  25.  
  26. The answer to both the above questions under VMS is "YES" -- but what about
  27. under Pathworks for DOS?
  28.  
  29. We want to implement a full-duplex task-to-task logical link between a 
  30. program running under Pathworks for DOS and a program running under VMS.
  31. Each program effectively has three threads of execution: (a) a network
  32. transmitting thread, (b) a network receiving thread, and (c) an internal
  33. data processing thread.  Under VMS alone we can use the asynchronous $QIO 
  34. system service (rather than the synchronous $QIOW) to perform the network
  35. receives and transmits, and event flags to indicate completion.  If we used 
  36. synchronous receive and transmit operations then the two programs could 
  37. deadlock if (for example) both chose to transmit at the same time.
  38.                                    
  39. What features does Pathworks for DOS provide to implement the same
  40. functionality?
  41.