We have a game that is written with Adobe Flash and the server side is NodeJS and they communicate with socket.io.
We consider moving to Haxe, the problem is that when I try to google for Haxe and socket.io, I only find indications for it to operate together using haxe-js-kit.
Does anyone have any experience with Haxe and Socket.IO?
How is the performance of using haxe-js-kit for socket.io support?
Can I use haxe-js-kit both on browser and mobile and it will work properly?
Any information regarding the issue would be greatly appreciated!
Following twitter there are a fresh socket.io externs
For experience/recommendations go to haxe group
There are probably no pure Haxe port of Socket.io. If you intent on using it for OpenFL/Kha/etc. you'll want to port a Flash library to Haxe.
Related
i am trying to implement socket.io with my flutter app, currently flutter is supporting WebSocket but i have found a way for socket.io in package "dart.io" but i am unable to understand how to emit a message on a specific event. Any suggestions would be helpful :)
I have ported socket.io in dart code since 2017, and it can work with flutter as well in the same codebase - socket.io-client-dart and socket.io-dart.
Using this flutter_socket_io package, I managed to connect to my local Socket IO server.
SocketIO socket = SocketIOManager().createSocketIO("http://localhost:3000", "/");
socket.init();
socket.connect();
Maybe you could share your implementation on both client and server side to debug further.
I think you looking for this flutter_socket_io
Isn't it possible to connect to various forex brokers, using Metatrader 4/5 Api?
And I'm not talking about connecting to Metatrader client application, like this nodejs plugins allows https://github.com/PenguinTraders/MT4-Node.js/tree/master.
I'm talking about native connect - directly to forex Brooker, that has Metatrader enabled, so it's possible to make trader apps/robots in any language, like nodejs and ruby, and even hosted on servers?
I mean, can't one use fireshark, to find out the Api?
I think https://github.com/agiliumtrade-ai/metaapi-node.js-sdk is the kind of solution you are looking for. It allows use case exactly as you have described. You can implement a trading robot in node.js which communicates to MetaApi and MetaApi routes your requests to a MetaTrader broker.
I am still thinking what is the most proper WebSockets framework to learn, which gives me all what I want.
I am C#.Net Core programmer (it is the language I want to use to write my server with). I wanted to start learning SignalR, but I didn't start yet because I am still confused about the ability of using my SignalR server from a Microcontroller client.
Is it some how possible to use transfer data between SignalR C#.Net Core server and an ARM Cortex M4 microcontroller programmed in C (without any operating system on it)?
In case that is not possible with SignalR, which WebSockets framework may be useful for my case (C# Server <-> C client)?
Any further ideas and suggesions about that? I am still very new to WebSockets and I don't understand exactly if it is possible to use SignalR (or any WebSockets framework) server from a client uses another framework (or maybe pure websockets).
If you are using SignalR for ASP.NET Core you can actually use bare websocket to connect to the server. I showed a demo where I have 3 different clients connecting to the SignalR server. The interesting part is that one of the clients was a NodeMCU based board running lua. You can find all the details in my post including code and instructions on setting things up.
Already i built chatting application in(Android, iOS & windows phone) & established in asp.net WebAPI, Now performance is very poor.
After googling i found, XMPP is the best & free(I am planning to use free open source tool, don't suggest paid lib)
Instead of XMPP, why we can't try with signalR?
Suggest me, which one should I go & start establishing the API.
I know compared to SignalR, XMPP have lot of features.
Of course you can do it also with SignalR, or even as a combination of XMPP and SignalR.
XMPP is a complete presence and messaging protocol with lots of features and many available extensions (also non IM features). Its in production for over a decade now. It gives you all you need to build a IM/Chat app for free. So why to reinvent the wheel and rebuild all the existing functionality on your own with SignalR when you can just install an existing XMPP server, get a client XMPP library and start coding your chat application.
I am quite new to websockets. I googled and grabbed some example code and none of them is working. All shows disconnected message despite of strictly following the tutorial rules.
I am testing from chrome, wamp and PHP 5.3.13 (php_socket is also active) on localhost, windows 7 ultimate(32bit).
What I want to ask is, do I need to configure my server to support websokets. If not what is the reason of not running it as intended?
Any kind of help is heartily welcomed!
thanks
I'd recommend you have search through StackOverflow as this question, and similar ones, have been asked quite a few times e.g.
Is native PHP support for Web Sockets available?
PHP server and websockets
Websockets & PHP
How Can a LAMP Guy Easily Implement WebSockets?