From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f58d52693e690c48,start X-Google-Attributes: gid1164f8,public From: Itsik Rubin Subject: Pathworks beween PDP and WindowsNT Date: 1996/10/17 Message-ID: <3266E749.4398@isis.co.za>#1/1 X-Deja-AN: 190101034 content-type: text/plain; charset=us-ascii organization: Isis (Pty) Ltd. mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 3.0 (WinNT; I) Hello all, I am currently busy integrating between a PDP legacy system that communicates using DECnet and another system which runs on WindowsNT (Intel platforms) which predominantly uses TCP/IP and UDP/IP for communications. I have installed Pathworks for WindowsNT ver. 4.1B on the WindowsNT box. The architecture of the process on the NT box communicating with the PDP is as follows: Interface process +-----------------------------------------------------------+ | +--------------+ +---------------------+ | | | Comms to PDP | | Comms to new system | | | | Thread | Messages | Thread | | | | |<------------>| | | | +--------------+ +---------------------+ | | ^ ^ | | | | | +----------+--------------------------------+---------------+ | | v v To PDP +--------------+ +---------------------+To other <------->| DEC Pathworks| | Microsoft Winsock |NT Boxes | stack | | stack |<-------> +--------------+ +---------------------+ On the Pathworks side I particularly elected to use the pathworks stack and NOT the Winsockets stack that is provided as an option. I write the code in Visual C++ to make the necessary interfacing between the two systems. When I run this configuration, I get a number of unexplainable errors on the Pathworks socket which cause the closure of the link to the PDP and the reopenning of the link. A number of questions: 1. Is there anybosy out there that had/has a similar interfacing requirements that can point me to the right direction? 2. In your opinion, is there any flaw in the architecture used? 3. I use the pathworks write function call in order to write messages from the new system thread (right hand side) to the Pathworks socket directly. Can it be done safely, Is Pathworks thread safe? 4. In order to perform a read from the Pathworks socket, I first call the select function and only after I receive an indication that there is something waiting to be read in the socket I perform a read. This is done because according to the Pathworks release notes there is a bug in Windows NT streams and this is the required solution in order to circumvent this bug. Is this still the case? Or can I use a blocking read instead? 5. What documentation is available on this issue? 6. Is there a later release of Pathworks for WindowsNT than 4.1B? 7. Would this version of Pathworks run on WindowsNT ver 4.0? Please answer to my personal e-mail address. If answering to the list, please drop a line saying that there is an answer. Thanks, Itsik Rubin