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 4letterwordIOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation