Hi abssistemas!
Attached is a new java template .....
Put this [unzipded!] "jTCPSocketClient .java" file in the folder "..... \java\lamwdesigner" of the LAMW framework ...
re-open your project and make a new build .... etc ....
I just inserted some "debug" tags...
Please, keep this:
jTCPSocketClient1.SetDataTransferMode(dtmByte);
jTCPSocketClient1.ConnectAsync(....);
and test the "SendBytes" ......
for debug, "OnBytesReceive" will try report only 2 jbytes ....
"0" and "0"
OR
"-1" and "-1"
OR
of course, the bytes reported by your system...
You can report your test here...
Thank you!