FINDING OF protocol of a device using ipaddress
I want to know how to find the protocol(SNMP,TL1,CLI,HTTP) being used by a targed device using its ipaddress
Is there any code to find out...if so pls tell
I will be thankful to your valuable replies开发者_如何转开发
Your only option is to try to open a TCP connection to the IP address using the port numbers of each of the protocols you are interested in. It is called port scanning, and it is likely to get you unpopular if you do it without permission!
P.S. the value of this answer 2 cents :-)
精彩评论