public class FourLetterWordMain extends Object
| Constructor and Description |
|---|
FourLetterWordMain() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static String |
send4LetterWord(String host,
int port,
String cmd)
Send the 4letterword
|
public static String send4LetterWord(String host, int port, String cmd) throws IOException
host - the destination hostport - the destination portcmd - the 4letterwordIOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2016 The Apache Software Foundation