View Single Post
  #9   Spotlight this post!  
Unread 14-01-2012, 10:24
Lalaland1125 Lalaland1125 is offline
Registered User
AKA: Ethan Steinberg
FRC #2429
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: La Canada
Posts: 29
Lalaland1125 is an unknown quantity at this point
Re: Is TCP communication allowed in-game?

Quote:
Originally Posted by shuhao View Post
How are you getting the TCP comm link to work?

I'm currently unable to find the networking API from java..


http://ideone.com/9dM5E
That's our code as of roughly now(I think the only change was that the robot does not support UTF, so we just switched that to ASCII or something).

javax.microedition.io is where the magic is.

If you want I can give you our server-side code, but it's just standard socket opening and accepting a connection(in C++ that is).

Last edited by Lalaland1125 : 14-01-2012 at 10:27.