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