- Uncomment DHT

- Change DHT from option bit to extension message
- Add DHT start/stop code
- Add UI for DHT enabling
- Add raw datagram protocol type and use for response port
This commit is contained in:
zzz
2012-06-02 18:52:46 +00:00
parent bec33cad87
commit 7b07eb89a3
11 changed files with 195 additions and 28 deletions

View File

@ -252,5 +252,16 @@ public interface I2PSession {
public static final int PROTO_ANY = 0;
public static final int PROTO_UNSPECIFIED = 0;
public static final int PROTO_STREAMING = 6;
/**
* Generally a signed datagram, but could
* also be a raw datagram, depending on the application
*/
public static final int PROTO_DATAGRAM = 17;
/**
* A raw (unsigned) datagram
* @since 0.9.1
*/
public static final int PROTO_DATAGRAM_RAW = 18;
}