On Mon, Dec 05, 2016 at 11:38:06AM +0100, Raphael Kubo da Costa wrote: > Christof Meerwald <[email protected]> writes: > > I am trying to use the TCPSocket API in a HTML5 app, but can't figure > > out how to access it... Is there any magic to get the TCPSocket API > > exposed in crosswalk? BTW, I am using the Linux deb package in case it > > makes a difference. > https://github.com/crosswalk-project/crosswalk/blob/master/sysapps/raw_socket/raw_socket_api_browsertest.html
That seems to suggest that it should be exposed under "xwalk.experimental.raw_socket", but if I try to use that (or run that test html under xwalk) I get: "Uncaught ReferenceError: xwalk is not defined" So the question is, what am I missing? BTW, running "strings" on the xwalk binary does find a match for "xwalk.experimental.raw_socket", so there must be something available there, but I just can't access it... Christof -- http://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
