title: How to connect to NAO robot using sockets?
body: <p>I'm playing with Aldebaran's <a href="http://www.aldebaran-robotics.com/en/Discover-NAO/Software/NAOsim.html" rel="nofollow">NAO humanoid robot Simulator </a> and choregraph. 
  I have a software in java that I would like to use to control the robot by activating its behaviors, and I believe sockets would do the trick.</p>
  
  <p>My question is: is there a way to open a socket connection from within choregraph+naoSim, so I can get sensor readings and send commands to the robot?
   Or any other way to connect to choregraph+naoSim to achieve the same effect?</p>
  
  <p>thanks in advance!</p>
  
  <p>K</p>