Z
zehn
hi,
i wrote a TCP client socket script that would send data to a TCP
server. However, this script was being called 100 times per second and
it caused hugh amount of sockets created utilizing all the resources
in my server. Hence a "netstat -a" would show up with lots of
TIME_WAIT.
i was thinking if there is a way i could create the socket in
another script, and just allow multiple scripts to SEND data through
it? Hence it would just be like a single socket connection.
any examples would be great.
benny
i wrote a TCP client socket script that would send data to a TCP
server. However, this script was being called 100 times per second and
it caused hugh amount of sockets created utilizing all the resources
in my server. Hence a "netstat -a" would show up with lots of
TIME_WAIT.
i was thinking if there is a way i could create the socket in
another script, and just allow multiple scripts to SEND data through
it? Hence it would just be like a single socket connection.
any examples would be great.
benny