Class: IrcCat::TcpClient
- Inherits:
-
Object
- Object
- IrcCat::TcpClient
- Defined in:
- lib/irc_cat/tcp_client.rb
Class Method Summary collapse
Class Method Details
.notify(ip, port, message) ⇒ Object
4 5 6 7 |
# File 'lib/irc_cat/tcp_client.rb', line 4 def self.notify(ip,port,) socket = TCPSocket.open(ip,port) socket.write( + "\r\n") end |