public class SOCKSHeader extends Object
| Constructor and Description |
|---|
SOCKSHeader(byte[] data) |
SOCKSHeader(Destination dest)
Make a dummy header from a dest,
for those cases where we want to receive unsolicited datagrams.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
Destination |
getDestination() |
String |
getHost() |
public SOCKSHeader(byte[] data)
data - the whole packetpublic SOCKSHeader(Destination dest)
public String getHost()
public Destination getDestination()
public byte[] getBytes()