View Single Post
  #4   Spotlight this post!  
Unread 03-06-2010, 14:44
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Communicating With A PC

Quote:
Originally Posted by davidthefat View Post
there is no socket class, or anything similar to it. I am currently looking at the DataOutputStream and the Driverstation class, but I am not sure if thats the one that communicate through the ethernet
Sounds like you're using Java, so I'll write a response to that; [apalrd]'s got the rest of it covered. Going off of the Javadoc here. You can use the SocketConnection interface; create the instance using the static methods of the Connector class. There's an example in the Javadoc for the SocketConnection class (here).

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor