I really missed a line
here it is
socket.emit('subscribe', 'mygroup1');
according to this meteor package documentation
https://atmospherejs.com/joncursi/socket-io-client
but it does not work!! dont know why...
Iḿ trying to have a meteorjs app connecting to my web2py tornado websockets app
any ideas?
2015-04-30 21:18 GMT+01:00 Derek <[email protected]>:
> those aren't the same url. don't you need /mygroup1 ?
>
>
> On Tuesday, April 28, 2015 at 3:34:05 AM UTC-7, Ramos wrote:
>>
>> hello i have an app with tornado websockets in the back
>> my webpage has this code
>> web2py_websocket('ws://serverip:12200/realtime/mygroup1')
>>
>> it just works !!
>>
>> now i need to connect to my tornado websocket from a nodejs server using
>> socket.io
>>
>> this line of code does not connect
>> var socket = io('ws://serveip:12200/realtime/');
>>
>>
>> any help would be appreciated
>>
>> António
>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.