1 17 package org.alfresco.filesys.netbios; 18 19 22 public final class RFCNetBIOSProtocol 23 { 24 25 27 public static final int PORT = 139; 28 29 31 public static final int DATAGRAM = 138; 32 33 35 public static final int NAME_PORT = 137; 36 37 39 public static final int TMO = 30000; 41 43 public static final int SESSION_MESSAGE = 0x00; 44 public static final int SESSION_REQUEST = 0x81; 45 public static final int SESSION_ACK = 0x82; 46 public static final int SESSION_REJECT = 0x83; 47 public static final int SESSION_RETARGET = 0x84; 48 public static final int SESSION_KEEPALIVE = 0x85; 49 50 52 public static final int HEADER_LEN = 4; 53 public static final int SESSREQ_LEN = 72; 54 public static final int SESSRESP_LEN = 9; 55 56 58 public static final int MaxPacketSize = 0x01FFFF + HEADER_LEN; 59 } | Popular Tags |