diff --git a/server.go b/server.go index 569a8b7..055963a 100644 --- a/server.go +++ b/server.go @@ -37,6 +37,13 @@ type Server struct { tr transport.Transport } +/** +Get ip of socket client + */ +func (c *Channel) Ip() string { + return c.ip +} + /** Get channel by it's sid */