We’ve been struggling with networking code recently, and after finally making a code that works, the wpilibj package does not allow importing java.net. Wondering if anyone has a solution to this problem, because I really dont want to put this to waste. Thanks for any help!
The cRIO does not run the Standard Edition of Java - rather, it runs the Micro Edition, so projects for the cRIO cannot use java.net, as it is not in the Micro Edition. Some basic networking functionality can be found in javax.microedition.io.
What were you planning on using networking for?
EDIT: Also see com.sun.squawk.io. edu.wpi.first.wpilibj.networktables has some things but I believe they’re mainly utility classes for the Smart Dashboard.