Measure socket connection time

S

Ste

Hi all,

I've to deploy a (maybe simple) things:

Just open a socket (host 10.10.10.10 port 15000)

Measure the time for socket connection, send "quit" and close.

There's some usefull functions to do it?


Thanks
Ste
 
A

A. Sinan Unur

I've to deploy a (maybe simple) things:

Just open a socket (host 10.10.10.10 port 15000)

Measure the time for socket connection, send "quit" and close.

There's some usefull functions to do it?

You can use IO::Socket and time.

Once you have given it a shot, post a short but complete script here if
you have any problems.

Sinan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top