2 Replies Latest reply on Oct 20, 2004 4:24 AM by Arno Raps

    Modbus in pooled connection?

    Arno Raps Newbie

      I have a modbus driver class, which works perfectly, except that opening a connection (new Socket) will take about 4-5 seconds.

      So i want to pool connections, hoping that i don't have to reconnect, since connecting is the only real slow step.

      Is this possible? In fact the class just uses the standaard java socket (java.net.Socket) class, can that one by used in a connection pool?
      And what would be the best way to implent that? Examples are aiming at database connections...