How To: Open Client Socket in Java With Timeout

    Date: 06/06/06 (Java Web)    Keywords: java

    Often we need to create a (client) socket connection in java but we do not want to wait indefinitely for the connection to open. We need a way to timeout socket connections. Two solutions and recommended code. Previously the only way was to create the socket in a Thread. And then kill the thread if it [...]

    Source: http://blog.taragana.com/index.php/archive/how-to-open-client-socket-with-timeout/

« Texas Employs Web Users To... || IBM is Spending 6 Billion... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home