Skip to content

Instantly share code, notes, and snippets.

@thecopy
Created April 11, 2013 17:02
Show Gist options
  • Save thecopy/5365169 to your computer and use it in GitHub Desktop.
Save thecopy/5365169 to your computer and use it in GitHub Desktop.
// In Server
Console.WriteLine("Pinging " + item.Reciever.Name + "(" + connectionId + " ticket = " + item.Ticket + ")");
GlobalHost.ConnectionManager.GetHubContext<ZombieHub>().Clients.Client(connectionId)
.Ping(item.Ticket);
// In Client
_hubProxy.On<Guid>("Ping", OnPing);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment