<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello James,<br>
<br>
A new release of the socket_toolbox is now available on ATOMS
(version 2.0.2):<br>
<a class="moz-txt-link-freetext" href="https://atoms.scilab.org/toolboxes/socket_toolbox">https://atoms.scilab.org/toolboxes/socket_toolbox</a><br>
It is recompiled for Scilab 6.0 and is now visible and installable
in a straightforward way with Scilab 6.<br>
<br>
Some of the issues that you have met and described are fixed (or
attenuated):<br>
Please see the CHANGES 2.0.1 => 2.0.2 section in the
description.<br>
<br>
As indicated in the WARNING section, socket_toolbox for Scilab 6.0
may be affected by the bug <a
href="http://bugzilla.scilab.org/15607" style="color: rgb(0, 0,
170); background-color: transparent; text-decoration: none;">http://bugzilla.scilab.org/15607</a>
that is specific to Scilab 6.<br>
However, when trying some simple requests, even the former
socket_toolbox release made Scilab 5.5.2 crashed. <br>
<br>
The "sync" option is now used in SOCKET_read() to improve
synchronization issues yielding the "mat" error. But there are
still some issues: for a same given request, sometimes
SOCKET_read() returns successfully, sometimes it does not return
at all.<br>
Despite i think 2.0.2 is better as well for Scilab 5.5, i did not
push any binaries for Scilab 5.5 for it.<br>
<br>
May be some parts of SOCKET_read() would deserve being rewritten.<br>
As well, SOCKET_pause() used in SOCKET_query() looks a bit strange
to me,<br>
instead of simply using sleep().<br>
<br>
It looks also that when the returned content has some single
quotes ', it makes troubles with SOCKET_read(). This was clearly a
part of the issue with the demo pointing to <a class="moz-txt-link-abbreviated" href="http://www.google.fr">www.google.fr</a>.<br>
I have tried to protect ' as " already are, but it does not work.
More work is needed on this side.<br>
<br>
I hope this release will improve the situation for your usage
cases.<br>
Please do not hesitate to report your trials results on the ATOMS
page.<br>
<br>
Best regards<br>
Samuel<br>
<br>
Le 27/06/2018 à 09:35, James Holland a écrit :<br>
</div>
<blockquote cite="mid:1530084924830-0.post@n3.nabble.com"
type="cite">
<pre wrap="">Hello Adrian
I have inmode outmode working now, I didn't initially realise that the curly
brackets are supposed to be included, I suspect there is a bug there because
binary and lf behave the same, the LF is always appended.
The flush I need because I'm not (or shouldn't be) sending a LF.
I was wondering if the problem is that the scilab script and the TCL are
executing simultaneously and I need to somehow wait for the TCL to finish.
I've downloaded TCL now, I will try running the same code directly.
--
Sent from: <a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html</a>
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>