HP3000-L Archives

August 1996, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Zoltak <[log in to unmask]>
Reply To:
John Zoltak <[log in to unmask]>
Date:
Thu, 1 Aug 1996 02:38:49 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
In article <01BB7E1F.2B0D52C0@edit-1>, [log in to unmask] says...
>
>  If this is an old question, please forgive me, and point me in the
>proper direction for the answer :)  I've hacked together a small
>TIME protocol server for MPE/iX that can be used with the NETTIME
>program already in the CSL.  I'm planning on taking it with me to
>Anaheim, but I ran into a problem that I can't seem to find an
>answer for.  The "well known port" for TIME is 37, and when my
>program tries to "BIND" the socket to that port, I get a
>Permission Denied error.  I seem to recall some discussion about
>this, but I can't locate the resolution to the problem.  I've tried
>running the program from a user with 'SM', and even gave the program
>'PM' and placed it in a 'PM' group, but it doesn't seem to help.
>The program runs fine when you change the TIME port to something
>higher (I used 3037 as a test).  Any thoughts?
>
>Regards,
>Michael L Gueterman
>Easy Does It Technologies
>email: [log in to unmask]
>http://Editcorp.nwinfo.net
>voice: (509) 946-6179
>fax:   (509) 946-1170
 
Even though you linked the program with PM and gave the group PM capability,
you still have to call GetPrivMode() to actually obtain PM. After binding you
can call GetUserMode().
 
John Zoltak
North American Mfg. Co.

ATOM RSS1 RSS2