|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Is TCP communication allowed in-game?
Quote:
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. |
|
#2
|
|||
|
|||
|
Re: Is TCP communication allowed in-game?
Quote:
Why can't you just go with message = m_inputStream.readUTF(); instead of all that, which should do the same thing? and same for outputStream with writeUTF Last edited by shuhao : 14-01-2012 at 11:15. |
|
#3
|
||||
|
||||
|
Re: Is TCP communication allowed in-game?
Has anyone been able to get TCP communication from the DriverStation to the cRIO using C++?
Does WPILIB support the use of TCP/UDP sockets? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|