From: Kithsiri Liyanage on
Hi there

I get the following error message when I tried to run jtcp

??? Java exception occurred:
java.net.SocketTimeoutException: Accept timed out

at java.net.PlainSocketImpl.socketAccept(Native Method)

at java.net.PlainSocketImpl.accept(Unknown Source)

at java.net.ServerSocket.implAccept(Unknown Source)

at java.net.ServerSocket.accept(Unknown Source)


Error in ==> jtcp>jtcp_accept_connection at 317
socket = serverSocket.accept;

Error in ==> jtcp at 225
jTcpObj = jtcp_accept_connection(port,timeout);

Error in ==> server at 2
jTcpObj=jtcp('accept',21566,'timeout',2000);

I am running Matlab R2009a on Windows XP. I saw somewhere installing jre in a different folder solved the problem. It didn't specify where.

Any help will be greatly appreciated

Kith