Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+7 votes

where is everyone inputting their IP address in the Radio App to connect servers, I am currently debating if its better to have it on a main page or hardcoded into the program to avoid errors

asked in CSC 305 Fall 2024 by (3k points)

2 Answers

+4 votes

since you're using just the one server for your app, hardcoding is probably easiest. that way you don't have to input it every time people log into the app

answered by (1.3k points)
+2

Yeah, that's fine

+2 votes

Given how we are not using multiple servers for this project and we are always connecting to the same IP address, hardcoding it seemed more intuitive for this case. As you mentioned, preventing running into an issue.

answered by (4.1k points)
...