What would happen if the same port number were used for both?

Li Sonaps
Li Sonaps used Ask the Experts™
on
Because SNMP uses two different port numbers (UDP ports 161 and 162), a single system can easily run both a manager and an agent.  What would happen if the same port number were used for both?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:
udp is fire and forget.  Using separate ports makes for less overhead (is this a management packet or a agent packet remember this is the simple net management protocol
Dr. KlahnPrincipal Software Engineer
Commented:
UDP is not like TCP where a connection can be handed off to another process.  Thus two ports are preferable.
Dr. KlahnPrincipal Software Engineer

Commented:
No further input from questioner.  Points split among participants.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial