require 'socket' client = TCPSocket.open("IP주소", '프로토콜'); client.send("상대방", 0) # 0은 표준패킷 의미 puts.client.readlines client.close