reduce sockets creation

Discussion in 'Perl Misc' started by zehn, Sep 27, 2003.

  1. zehn

    zehn Guest

    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
     
    zehn, Sep 27, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DAvid

    reduce the CLB

    DAvid, Oct 24, 2004, in forum: VHDL
    Replies:
    2
    Views:
    622
  2. Jack Wright

    Reduce The Size Of Your ASP.NET Output

    Jack Wright, Feb 29, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    435
    Eric Lawrence [MSFT]
    Mar 2, 2004
  3. Praveen Balanagendra via .NET 247

    Reduce Flickering while Refreshing

    Praveen Balanagendra via .NET 247, May 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    385
    Praveen Balanagendra via .NET 247
    May 13, 2004
  4. Praveen Balanagendra via .NET 247

    Reduce Flickering while Refreshing

    Praveen Balanagendra via .NET 247, May 13, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,065
    Ken Cox [Microsoft MVP]
    May 13, 2004
  5. Sara T.

    Reduce color

    Sara T., May 20, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    439
    Sara T.
    May 20, 2005
Loading...

Share This Page