in my program, clients choose a number from 1 to 10 and send it to the server.
server produces a number every 5 min and send the client the result (if they win or lose) immediately.
Win or lose what?
i 'd like to convert this, in order the result to be sent from the server to client when the time(5min) is finished - just before a second draw occurs.
Can you elaborate on this specification a bit? I'm having trouble understanding what exactly you're trying to achieve.
I'd like to be able to help you... but your code is a real mess. Also, is it possible to see the
whole classes as opposed to seeing only the snippets?