Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

how to use XGain #20

Open
wayne-lu opened this issue Mar 8, 2017 · 2 comments
Open

how to use XGain #20

wayne-lu opened this issue Mar 8, 2017 · 2 comments

Comments

@wayne-lu
Copy link

wayne-lu commented Mar 8, 2017

I use master branch and create copy the code.

using(IServer server = new XGainServer(IPAddress.Any, 5000, () => new SocketProcessor()) { server.OnNewMessage += (sender, message) => {} // assign your method Task worker = server.Start(); worker.Wait(); }

but is error, and miss SocketProcessor, how to use XGain ? can you give me a sample ?

@ThodorisElissaios
Copy link

same here

@lukasz-pyrzyk
Copy link
Owner

Hello @wayne-lu and @ThodorisElissaios. I've added a two projects - SampleClient and SampleServer. Please take a look and share feedback :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants