Using SOCKET2 toolbox under Linux

Paul Hillereau paul.hillereau at gmail.com
Mon Feb 7 14:54:50 CET 2011


Hello,

I'm trying to use the SOCKET2 toolbox with scilab 5.3.0 under Linux (redhat
5, 32 bits, java 1.6) and my script seems to go in an infinite wait.
When opening a socket with SOCKET_open() scilab goes into a strange state :
I can still interact with scinotes, but I can't break the execution of my
script, the only solution to exit scilab is to kill it.
I try to understand what is happening by using strace -f but I got too much
useless feedback to understand what happen.
Under Windows XP with scilab 5.1.1 (portable version), the same script does
not fail ; but I don't get any message from my server (a small C program)...
I try the SOCKET toolbox (with WinSocket) and it works perfectly well.

Do anybody know something about the SOCKET2 Toolbox ? I search bugs report
on the scilab's bugzilla using the search box but I didn't find anything on
this toolbox.

I've attached the scilab script and C program I used to test my
configuration.

Tanks for help,

Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110207/9290826f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_socket.c
Type: text/x-csrc
Size: 2102 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20110207/9290826f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_socket.sci
Type: application/octet-stream
Size: 335 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20110207/9290826f/attachment.obj>


More information about the users mailing list