Hi,

yes definitely. I was assuming the program wanted to receive one response 
for each input.

That got me curious again, let s see !

Meanwhile, here is server code to update a bit and run into that case,
https://github.com/gorilla/websocket/blob/master/examples/echo/server.go


Le dimanche 25 septembre 2016 15:15:56 UTC+2, KwangYul Seo a écrit :
>
> Hi,
>
> It seems you assume that the server sends a single response for each 
> message received. But don't forget that WebSocket is fully duplex and the 
> server can send multiple messages at any time while you wait for input.
>
> Regards,
> Kwang Yul Seo
>
>
>

-- 
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