From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3aab7b77db8b7800,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-08-09 15:56:49 PST Path: gmdzi!unido!mcsun!uunet!seas.gwu.edu!timur From: timur@seas.gwu.edu (The Time Traveler) Newsgroups: comp.sys.dec Subject: Need help writing a simple DECnet-DOS term program, please! Message-ID: <1991Aug9.191640.18774@seas.gwu.edu> Date: 9 Aug 91 19:16:40 GMT Sender: timur@seas.gwu.edu (The Time Traveler) Organization: George Washington University Despite the fact that I have no network programming experience, my boss has decided to have me write a remote-PC login program using decnet. Well, the remote-pc stuff is already done, but I can't seem to get my decnet skeleton program to work. I have a server and a client set up on two different machines. The server binds an object number to a socket, and polls the socket until data comes in. It then reads the data until dnet_eof, and then exists. The client opens connection to the object on the server's machine, and sends whatever the user types to that socket. Well, the two programs connect properly (the server can tell where the client is), but right after the server opens connections, it sees that dnet_eof is true, and exists right away. If anyone is willing to help me, I'll be happy to email my source code so far. If anyone has a similar program on hand, I'd love to have a copy. I'm running DECnet-DOS 3.0 on PC compatibles, using MSC 5.1 and the DNETLIB library I compiled from the header & source files in DNETLIB.SRC. ----------------------------------------------------------- The Time Traveler But the night will reflect the hunger a.k.a. Timur Tabi And the blackness will pull you under Internet: timur@seas.gwu.edu Still the sword of right will guide your way Bitnet: HE891C@GWUVM -- ----------------------------------------------------------- The Time Traveler But the night will reflect the hunger a.k.a. Timur Tabi And the blackness will pull you under Internet: timur@seas.gwu.edu