Jump to content
Sign in to follow this  
Maumuabr

TCP and UDP ports test

Recommended Posts

Maumuabr

Dear folks my first post here... :-P

Im writing an script that have to test some TCP and UDP ports.

Im not an expert in this topic so i need some help on writing it :-D

For example:

I have hostA where the script will be executed.

HostB our app manager

So i wanna test if the connectivity between both are ok by the port 9990 TCP

$AMS_CONNECT=TCPConnect($AMS_IP,$AMS_PORT)

And for UDP 4104

$AMS_UDP_CONNECT = UDPOpen( $AMS_IP, $AMS_UDP_PORT)

Well.. my question is... if i use the premade functions UDPOpen and TCPConnect are the best way to do this? Or do u know any SO Tools that do this job well?

Pls send me your comments...

Thank you very much for helping..

Cya

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.