public final class TimedSocket extends Object
| Modifier and Type | Method and Description |
|---|---|
static Socket |
createSocket(String host,
int port,
int timeout)
Creates a socket and waits until the given timeout is reached.
|
public static Socket createSocket(String host, int port, int timeout) throws IOException
host - port - timeout - in millisecondsnull.InterruptedIOExceptionIOExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.