Reputation: 1
first of all thanks for read this post. I nedd connect to a SocketIO from windows phone 8 and i dont know how to do it, If someone know it please post a solution, thanks for read this. PD.: I used SocketIO4Net but i cant add the nudget to my project.
Upvotes: 0
Views: 898
Reputation: 943
I used a different library, SockeIOClientDotNet, I installed through the NuGEt manager interface. In order to connect to a nodeJs server I did this and it worked:
public Socket socket;
public theConstructor(){
this.InitializeComponent();
socket = IO.Socket(EVENT_CONNECT,()=>{
socket.Emit("xyz", "a message sent to nodeJs");
});
}
Upvotes: 1