--- jlscp/trunk/src/org/linuxsampler/lscp/Client.java 2011/11/23 09:54:13 2286 +++ jlscp/trunk/src/org/linuxsampler/lscp/Client.java 2011/11/23 18:58:46 2287 @@ -68,6 +68,8 @@ * @author Grigor Iliev */ public class Client { + public static final String VERSION = "0.8"; + public static final String PROTOCOL_VERSION = "1.4"; private String address; private int port; private Socket sock = null; @@ -282,9 +284,13 @@ * @return The jlscp version. */ public static String - getClientVersion() { - return Package.getPackage("org.linuxsampler.lscp").getImplementationVersion(); - } + getClientVersion() { return VERSION; } + + /** + * Gets the LSCP protocol version supported by this client. + */ + public static String + getProtocolVersion() { return PROTOCOL_VERSION; } /** * Gets the Linux Sampler address. @@ -367,7 +373,7 @@ ); } - String s = Package.getPackage("org.linuxsampler.lscp").getSpecificationVersion(); + String s = getProtocolVersion(); String s2, sv, sv2; try {