Skip to content

XSockets chat target clients

Uffe Björklund edited this page Jun 16, 2015 · 2 revisions

3 - Let's build a chat!

To only send messages to people at the same location we change the Say method to

public void Say(string message)
{
    var m = new {Name, Location, Message = message};
    this.InvokeTo(p => p.Location == this.Location, m,"say");
}

repeat the putty test...

next

Clone this wiki locally