To create a chat app (if you need an help for bacend) you can use Socket.io, Mqtt or Websocket.
You need also a node.js server for this solutions.
Socket.io: doesn't release their own library, but a developer has converted Javascript Socket.io library into C# compatible library. There's a problem: you can't use the newest version of socket.io in your backend node.js (backend use Socket.io original library)
Websocket: there's a Xamarin library ( https://developer.xamarin.com/api/namespace/System.Net.WebSockets/ ) that work well, but I prefer mqtt because Websocket don't have "Nickname" and "Topic" function, and I don't have idea which is the correct way to transfer "nickname" to server from client and implement "topic" function
Hi @Bluex , can you post the link of the c# porting of the socket.io client you quoted?
Socket.io: doesn't release their own library, but a developer has converted Javascript Socket.io library into C# compatible library. There's a problem: you can't use the newest version of socket.io in your backend node.js (backend use Socket.io original library)
Answers
Heres a sample:
https://developer.xamarin.com/samples/monotouch/Chat/
its only for ios.i need both Android and ios
https://github.com/jamesmontemagno/app-monkeychat
https://github.com/jamesmontemagno/app-monkeychat
This was not Working Now in VisualStudio 2017 .
To create a chat app (if you need an help for bacend) you can use Socket.io, Mqtt or Websocket.
You need also a node.js server for this solutions.
Socket.io: doesn't release their own library, but a developer has converted Javascript Socket.io library into C# compatible library. There's a problem: you can't use the newest version of socket.io in your backend node.js (backend use Socket.io original library)
Mqtt: there's a Xamarin library ( http://xamarin.github.io/mqtt/ ) but it's old and doesn't work well. So I use this https://github.com/chkr1011/MQTTnet that's work really good with mqtt nodejs on backend.
Websocket: there's a Xamarin library ( https://developer.xamarin.com/api/namespace/System.Net.WebSockets/ ) that work well, but I prefer mqtt because Websocket don't have "Nickname" and "Topic" function, and I don't have idea which is the correct way to transfer "nickname" to server from client and implement "topic" function
Here is some example of a chat application which includes more then 20+ features
https://github.com/Doughouzlight/Xamarin_Forms_Wowonder-Messenger-v1.3
Hi @Bluex , can you post the link of the c# porting of the socket.io client you quoted?