Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.09 seconds.

  1. Re: Socket program that worked in the past no longer working, cannot open socket.

    Most Listener interfaces also have abstract Adapters.
    Instead of having your custom window listener implement WindowListener, make it extend WindowAdapter (WindowAdapter (Java Platform SE 7 )) and...
  2. Re: Socket program that worked in the past no longer working, cannot open socket.

    Look at what Norm advised. You can create a custom event for a window being closed. It would be a very good idea to handle closing the sockets in the window listener.
  3. Re: Socket program that worked in the past no longer working, cannot open socket.

    Ok, so clearly you are opening the port with your program and it is staying open. That is a good information for us to work with.
    The finally statement will almost always execute, even if an...
  4. Re: Socket program that worked in the past no longer working, cannot open socket.

    Ok, so we need to do a bit of debugging.
    If the exported jar from May still works, and nothing has changed in the code, this could indicate some change in the java JDK, but it seems very unlikely...
  5. Re: Socket program that worked in the past no longer working, cannot open socket.

    What ports do XAMPP use?
    Try opening your command prompt and entering: "netstat -a".
    It will list your ports. Have a look if the port in question is actually being used at the time.
    If it isn't...
Results 1 to 5 of 5