New topic: 

WebSockets desactivated ?

<http://forums.realsoftware.com/viewtopic.php?t=47563>

         Page 1 of 1
   [ 5 posts ]                 Previous topic | Next topic          Author  
Message        vtarondeau          Post subject: WebSockets desactivated 
?Posted: Thu Apr 11, 2013 3:17 am                         
Joined: Wed Apr 13, 2011 2:07 pm
Posts: 29                I was searching for a long time why websockets wasn't 
used in my application.
I've red that 2012 R2 should support it with compatible browsers but it never 
happened.

In fact, the following code in framework.js this code always set websocket to 
false : 
if(false && !!window.WebSocket && RS.mode == 1) {

Does someone knows about this ?

Thanks

Valery   
                             Top                Akiland          Post subject: 
Re: WebSockets desactivated ?Posted: Thu Apr 11, 2013 4:07 am                   
              
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1183
Location: Jönköping, Sweden                I think WebSockets is only 
available in Standalone builds, not CGI if that's what you're using     
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
REAL.Studio Web Edition 2011r3  
                             Top                vtarondeau          Post 
subject: Re: WebSockets desactivated ?Posted: Thu Apr 11, 2013 5:41 am          
               
Joined: Wed Apr 13, 2011 2:07 pm
Posts: 29                Of course, all my tests were done in standalone 
deployment (not CGI).
I confirm that websockets are never (and can't be) used at this point with 2012 
R2.1   
                             Top                Akiland          Post subject: 
Re: WebSockets desactivated ?Posted: Thu Apr 11, 2013 6:28 am                   
              
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1183
Location: Jönköping, Sweden                Hmm, are you sure?
The line from framework.js you posted above can't be found in framework.js on a 
built app?
http://yourapp.com:8080/framework/framework.js
Though I dont know anything about javascript :/      
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
REAL.Studio Web Edition 2011r3  
                             Top                vtarondeau          Post 
subject: Re: WebSockets desactivated ?Posted: Fri Apr 12, 2013 3:49 am          
               
Joined: Wed Apr 13, 2011 2:07 pm
Posts: 29                Unfortunatly, I'm sure 
The framework.js is taken from the browser debugger and the "if false" is 
disabling WebSockets forever.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 5 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to