Sending a message to a flash chat
Basically I want to make a bot for a flash chatroom (chatango), but at the moment my number one main goal is just to make it display a message in the chatroom then I can take it from there.
Basically I only have this information:
String server = "www.<anychatroom>.chatango.com";
int port = 80;
Socket myBot = new Socket( server, port );
addr = myBot.getInetAddress();
System.out.println("Connected to " + addr);
I had a try and catch clause around it but you get the picture, it says I connected, it displays the IP address as well of the chatroom.
Now this is where I get stuck, anyone care to help, I basically just want to display a message in the chatroom via the code meaning I just type a message in the source code and run the code and see it display in the chatroom.
Appreciate any help, thank you.