search for: to_serv

Displaying 2 results from an estimated 2 matches for "to_serv".

Did you mean: to_ser
2013 Jan 10
0
TCPSocket in controller action
...it is working on console. url = "http://www.google.de" version = request.env[''HTTP_VERSION''] verb = request.env[''REQUEST_METHOD''] # url = request.env[''REQUEST_URI''] puts url uri = URI::parse url to_server = TCPSocket.new(uri.host, (uri.port.nil? ? 80 : uri.port)) puts "#{verb} #{url} #{version}\r\n" to_server.write("#{verb} #{url} #{version}\r\n") puts to_server puts to_server.closed? puts "before while" #THIS LOOPS TAKES TOO LONG BECAUSE to_server...
2009 Dec 15
3
Best way ro run 2 or more asterisk servers?
Hello List. I have a question regarding connecting two asterisk servers. I'm trying to learn how asterisk comunicates from server to server. I already have a server running smoothly now, I'm installing another one to test it along side the actual one. I would like to run different scenarios: 1. Have one of the boxes at a different location outside the LAN and have them communicate. 2.