binding static port for rpc service
807575Jan 16 2003 — edited Jan 16 2003I want to start a RPC server in a specific TCP port.
The default behaviour is that the server chooses some arbitrary port and registers itself with the port-mapper (rpcbind). This is not good for me as I need to work throught a firewall. The first access to the port mapper (port 111) is fine. I don't need to make the client go directly to the my server.
But how to start the server in a specific port?
I read in some news group about openning the socket myself, and then using svctvp_create + svc_reg or the same with TLI, but till now I was not able to put this to work.
Any help will be appreciated.
Regards,
Oren.