3 Replies Latest reply on Jun 13, 2013 8:34 AM by Kutir Mobility

    TCPSocket.new() fails on Windows Mobile For Rhomobile Application

      I am using TCPSocket in RhoMobile Application(code in Ruby) to communicate with a Server running on the Desktop(Code in C#.Net)


      tcp_client = TCPSocket.new( '', 13000 )
      tcp_client.puts( "sending a test message to server" ) 


      It gives me an error just Socket(2) while executing TCPSocket.new line.


      With Android Simulator and RhoSimulator, it is working fine. But for Windows Mobile it isn't.


      I Did lots of search on the web, and tried so many samples, but didn't find the solution. Any help will be appreciated, thanks in advance.

      Please help..