Changeset 7c5162e for core/java


Ignore:
Timestamp:
Dec 3, 2018 4:17:30 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
177f595
Parents:
5e7a277
Message:

I2CP: Move the port 7654 definition

Location:
core/java/src/net/i2p/client
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/client/I2PClient.java

    r5e7a277 r7c5162e  
    6565    public final static String PROP_FAST_RECEIVE = "i2cp.fastReceive";
    6666
     67    /**
     68     *  7654
     69     *  @since 0.9.38
     70     */
     71    public static final int DEFAULT_LISTEN_PORT = 7654;
     72
    6773    /** protocol flag that must be sent when opening the i2cp connection to the router */
    6874    public final static int PROTOCOL_BYTE = 0x2A;
  • core/java/src/net/i2p/client/I2PSession.java

    r5e7a277 r7c5162e  
    445445     */
    446446    public static final int PROTO_DATAGRAM_RAW = 18;
    447 
    448     /**
    449      *  7654
    450      *  @since 0.9.38
    451      */
    452     public static final int DEFAULT_LISTEN_PORT = 7654;
    453447}
  • core/java/src/net/i2p/client/impl/I2PSessionImpl.java

    r5e7a277 r7c5162e  
    225225    }
    226226
    227     public static final int LISTEN_PORT = DEFAULT_LISTEN_PORT;
     227    public static final int LISTEN_PORT = I2PClient.DEFAULT_LISTEN_PORT;
    228228
    229229    private static final int BUF_SIZE = 32*1024;
Note: See TracChangeset for help on using the changeset viewer.