Re: openbsd rpc behavior

2019-09-12 Thread Otto Moerbeek
On Thu, Sep 12, 2019 at 09:12:29AM -0300, Gustavo Rios wrote: > I am writing a program to query my portmap server. > I am using the getport routine. The parameters i am using is > > program = 10 > version = 3 > protocol = 17 > > And it returns the port 111. > > But when i change version

openbsd rpc behavior

2019-09-12 Thread Gustavo Rios
I am writing a program to query my portmap server. I am using the getport routine. The parameters i am using is program = 10 version = 3 protocol = 17 And it returns the port 111. But when i change version from 3 to, say, 10 It stills returns port 111. Should not it return another value