Telnet.findAvailableServer

Find a server which is listening on the specified port.

class Telnet
findAvailableServer
(
const(char)[] hostname
,
int port
)

Parameters

hostname const(char)[]

the hostname to lookup and connect to

port int

the port to connect on

Return Value

Type: Socket

the Socket instance used

Meta

Since

0.99.8