Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using XSockets.Core.XSocket;
- using XSockets.Core.XSocket.Helpers;
- namespace XSockets.Controllers
- {
- public class Test : XSocketController
- {
- /// <summary>
- /// An example of howto close a XSockets connection if you need to clean up stuff.
- /// This might also be called from a client...see http://pastebin.com/vcS3iHzA
- /// </summary>
- public void Terminate()
- {
- //Do cleanup
- //Disconnect
- this.Disconnected();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement