diff src/net/sourceforge/jsocks/Socks4Message.java @ 352:2bc6805cbc91

update jsocks to 2011-03-19
author Carl Byington <carl@five-ten-sg.com>
date Fri, 01 Aug 2014 11:32:33 -0700
parents 205ee2873330
children
line wrap: on
line diff
--- a/src/net/sourceforge/jsocks/Socks4Message.java	Fri Aug 01 11:30:48 2014 -0700
+++ b/src/net/sourceforge/jsocks/Socks4Message.java	Fri Aug 01 11:32:33 2014 -0700
@@ -2,11 +2,11 @@
 import java.io.*;
 import java.net.*;
 
-/** 
+/**
   SOCKS4 Reply/Request message.
 */
 
-class Socks4Message extends ProxyMessage{
+public class Socks4Message extends ProxyMessage{
 
    private byte[] msgBytes;
    private int msgLength;
@@ -25,14 +25,14 @@
       msgBytes[1] = (byte) command;
    }
 
-   /** 
+   /**
     *  Server successfull reply
     */
    public Socks4Message(int cmd,InetAddress ip,int port){
       this(0,cmd,ip,port,null);
    }
 
-   /** 
+   /**
     *  Client request
     */
    public Socks4Message(int cmd,InetAddress ip,int port,String user){