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.
|
public SOCKSHeader(byte[] data)
data
- the whole packetpublic SOCKSHeader(Destination dest)
public String getHost()
public Destination getDestination()
public byte[] getBytes()