From: Zqd Zqd Date: 2008-09-07T13:19:27+09:00 Subject: how to change ASCI to Hex hi everyone: I want to change ASCI to Hex,which i receive in the UDPSocket,but it just report error 1) my code is: server = UDPSocket.open server.bind('192.168.203.108', $port) s= server.recvfrom(164) s=s[0] s=Integer(s) p s 2) the error report: in `Integer': string contains null byte (ArgumentError) -- Posted via http://www.ruby-forum.com/.