Problem with getservbyname (Ultrix-32 V3.0 (Rev 64) )
Mark Parris
map at cscosl.ncsu.edu
Sat Jul 22 04:49:41 AEST 1989
I've encountered what appears to be a bug with the getservbyname
C library call under Ultrix 3.0. Any help would be appreciated.
When I attempt to get the port address of a service using getservbyname
the port number that is returned is the actual port number times 256 (or
shifted 8?) mod 65535. I can use this number in the getservbyport and it
returns the same port. The true port value returns a null.
Is this a documented bug? If so, is there a fix for it? If not, any
ideas on what I might be doing wrong? Any suggestions would be appreciated.
Thanks,
Mark Parris
*** Please email, I will post a summary of responses. ***
-----------------------------------------------------------------------------
Mark Parris mcnc.org!cscosl!map
Please E-mail. I will summarize.
More information about the Comp.unix.ultrix
mailing list