Hi Erel thanks for the reply here is the error and the code that causes it.
Sub CloseDataSoc
Log("CloseDataSoc")
DataSoc.opn = False
If (DataSoc.ist.IsInitialized) Then DataSoc.ist.close ****** error on this line
If (DataSoc.ost.IsInitialized) Then DataSoc.ost.close
DataSoc.con.close
If (DataSoc.fist.IsInitialized = True) Then DataSoc.fist.close
If (DataSoc.fost.IsInitialized = True) Then DataSoc.fost.close
End Sub
The first part of the if is true the error occurs in the Then part.
CloseDataSoc
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.net.SocketInputStream.read(SocketInputStream.java:127)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:184)
at java.lang.Thread.run(Thread.java:745)
ADataStm error: java.net.SocketException: Socket closed
CloseDataSoc
Thanks Dave.
This happens when I try to logon using:-
192.168.1.71:54022/