diff --git a/src/main/resources/linux/aohe-sane-service.png b/assets/linux/aohe-sane-service.png similarity index 100% rename from src/main/resources/linux/aohe-sane-service.png rename to assets/linux/aohe-sane-service.png diff --git a/pom.xml b/pom.xml index e72ec37..1946363 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.aohe sane-service - 0.3.0 + 0.3.1 aohe-sane-service @@ -146,9 +146,8 @@ false linux 奥诃影像扫描控件 - Sane's socket access programme for use with WEB. + 奥诃公司为影像 WEB 应用开发的 USB 扫描仪连接驱动,请搭配 WEB 产品使用。 - src/main/resources/linux/aohe-sane-service.png true true true diff --git a/src/main/java/org/aohe/core/web/SocketFactory.java b/src/main/java/org/aohe/core/web/SocketFactory.java index d56e0a8..9dad715 100644 --- a/src/main/java/org/aohe/core/web/SocketFactory.java +++ b/src/main/java/org/aohe/core/web/SocketFactory.java @@ -32,6 +32,7 @@ public class SocketFactory { private static SocketServer getSocket() throws UnknownHostException { log.info("Create Socket ..."); socketServer = new SocketServer(8997); + socketServer.setReuseAddr(true); return socketServer; }