Abion47 wrote:Well, yes and no. It's "only binary" in exactly the same way that files are "only binary." But the various applications can apply interpretations to the bytes. For instance, when using FTP, you can set it to "text" or "ascii" mode, which means the ftp server (or maybe it's the client) will translate line-end characters as needed to map from the sending platform's conventions to the receiver's.
It is true that you can only really send stuff over sockets is binary
in order to send a picture, you need the sender to convert the picture into a format that fits one of these categories.Not sure what you're saying here, but the format of the payload is irrelevant to the network communication part, as long as the protocol supports sending the bytes in question. The format of the data comes into play before sending and after receiving. It's here that the sender and receiver must be in agreement in order for the payload to be properly interpreted.
cannon701 wrote:An applet runs in the client (your machine.) Normally to run with others you are going to need an actual server. So the first question would be if your hosting service allows you to run a server application.
Hey, I am having trouble with sockets. I am wanting to make a game that is multiplayer and will work on a freewebs site. It probably needs to use applet or JApplet(for guis).
I want it to work with everyone on the server, but i think it would be easier to just use a tcp and let others join in by using ip address. The problem is, I am not really good with Sockets and barely know stuff about them. I also want to make a game with images and stuff like that but all i can do is g.drawoval(). I get guis mighty fine they are easy. I want the game to be like mario but you can have friends play with you using your ip.