Pergunta

An ONC RPC header contains a program number, version number, and procedure number to identify the call. Normally different RPC programs (services) are implemented by different processes, so the programs map to different TCP/UDP port numbers. If a single process implemented more than one RPC program, could it register and use the same port for all of them? It seems like the program number is sufficient to demultiplex to the correct service.

Are there any real-world examples of doing so?

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top