-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wpinet] Add simple web server #7527
base: main
Are you sure you want to change the base?
Conversation
@@ -80,6 +80,22 @@ public static synchronized void forceLoad() throws IOException { | |||
*/ | |||
public static native void removePortForwarder(int port); | |||
|
|||
/** | |||
* Create a web server at the given port. Note that local ports less than 1024 won't work as a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably add a note about which ports are open in an FMS setting to minimize cases of teams running into blocked ports at competition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better to just add a note to check the game manual. The ports can technically change year to year (Mainly because we can add more if needed.
Example use:
TODO:
Support PUT and DELETE operations(deferred)Closes #2518