Hi dear friends,I have a problem with my code in java socket programming.can anyone help me with?if yes,I send my code.Thanks
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
It might help if you post a more specific question, but yes, we have a lot of people on here who could help you with sockets.
In this program I want to write 2 players.1 is the host of the game (GCH_thread)and another is the player(GCP_thread).The host is a thread which start working in my server class.and the player starts working in my client class.In the host thread I want to choose a word and then ask the player to guess the letters of this word.my problem is that when I run this program the second thread doesn't operate the codes.I don't know what the problem is...(the game we should write is "hanged man" but in socket programming )
thanks for your help
I really need s.o to help me.
Not the answer you are looking for? Search for more explanations.
Sorry, mas_gh90, I haven't had the time to look at this yet. This is more complex than a quick solution. heh.
@agdgdgdgwngo - Any chance you will have time to look at this?
If not it's cool I just won't have time until late tonight my time at least.
It's really very kind of you!I will be really thankful.
So, I still don't have time to look into this a ton - the exception I'm seeing is complaining about the scanner not having a next line.
What it looks like is happening is the client is disconnecting and quitting when the scanner tries to read data? I haven't done much with the scanner class before. Not too familiar with it, but it is odd that your client just connects and then disconnects. o.O
Thanks for everything!
dear friends I'm I'm really in need of your help!pleaaaasssssse take a look if you can!