so im trying to build a networked game using sockets. first of all its going to be an applet. what are the issues with using sockets in applets? something about they can only connect back to the host server?
also after researching a little it seems you can only send text over sockets easily? is there a way to send numbers(eg int, float, etc.)? if not whats the best way to convert numbers in a string to mean actual numbers?
something like this ?
i = Integer.valueOf(string).intValue();
also what does the data protocol look like for multiplayer games? my game is going to be 1 vs 1 but hopefully many users can be playing at one time. How do games like this specify data transfer between only two users and not all users currently connected?