19 Replies
⌛
This post has been reserved for your question.
Hey @dghf! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Dumb question
But do you need to use TCP sockets?
Because Java has an http client
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Aside of reinventing wheels, you should split that code into classes. There's too much happening.
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
@Code@szatkus@HAO@tjoener
Is this better?
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
yeah
but apart from the comments
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
which one are you talking about now
but i want it to be functionally the same, that's to say it should work
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
in which file?
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Multithreading is for next asssignment
And I don't know what lambda exp. is
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Still, are you required to do manual http requests?
Because there's a full blown http client in Java...
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.