There's your problem then - seems like nothing is coming from the other side. Are you sure that port is being used during the duration of the program execution?
Type: Posts; User: copeg
There's your problem then - seems like nothing is coming from the other side. Are you sure that port is being used during the duration of the program execution?
Any exceptions raised? The timeout value is set, so if nothing is accepted by the ServerSocket during the timeout period a SocketTimeoutException should be thrown.