Vote count: 0 Long story short, my problem is the same of that question. Even if I dont close the jmNDS service my client only discover the server when it start first. If not it only discover my printer (That should have another protocol by the way) Server.java public class Server { public static void main(String[] args) { System.out.println("--- Starting Enjoy Your Meal Server Service ---"); Thread serverThread = new Thread(new ClientCoection()); serverThread.start(); } } ClientCoection.java public class ClientCoection implements Ruable { private static final String mServiceName = "EnjoyYourMeal"; private static final String SERVICE_TYPE = "_http._tcp.local"; private ServerSocket mServerSoc...
ادامه مطلب