search for: pbir

Displaying 1 result from an estimated 1 matches for "pbir".

Did you mean: pair
2006 Feb 16
1
Newby: Getting "unitialized constant SockServ" -- help
...@socket = TCPSocket.open("nnn.nnn.nnn.n", 9000) # sending xml to just opened socket (send is std call) @xml = "<?xml version="1.0" ?> <transaction> <version> 2.0 </version> <ctrl> <mode> pbir </mode> <option> <resultImageSize> 16 </resultImageSize> </option> </ctrl> </transaction>" @socket.send(@xml) @socket.recv end end -- Posted via http://www.ruby-forum.com/.