Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: timur@seas.gwu.edu (The Time Traveler)
Subject: Need help writing a simple DECnet-DOS term program, please!
Date: 9 Aug 91 19:16:40 GMT	[thread overview]
Message-ID: <1991Aug9.191640.18774@seas.gwu.edu> (raw)

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


                 reply	other threads:[~1991-08-09 19:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox