I am trying to set up a small websocket server that would take in user 
input and send it to MATLAB via the MATLAB engine.

I have tested that both the engine and the websocket work separately, but 
when the engine session is made in a websocket handler, I cannot seems to 
properly communicate with it anymore. I was wondering if I had mande any 
obvious mistake in the code below.

When I connect with an HTML client, the handler function is properly 
called, and MATLAB is started, but for some reason messages from the client 
do not get passed to MATLAB. Message sent directly from go work however.

I have posted the relevant code and output to this gist 
<https://gist.github.com/jebej/647503c638e7ce7e68b68552fec15806>.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to