All pastes #465317 Raw Edit

Anonymous

public java v1 · immutable
#465317 ·published 2007-04-30 02:06 UTC
rendered paste body
package info.pwnds.irc;import java.net.Socket;import java.io.IOException;/** * Date: Mar 30, 2007 * * @author Robert Saunders (Pwnd) * @todo this */public class IRC {    Socket s;    String username;    Utils utils = new Utils();    public IRC(String username) {        this.username = username;    }    public boolean connect(String host, int port) throws IOException {        s = new Socket(host, port);        utils.startUtils(s);        utils.sendRawLine("NICK " + username);        utils.sendRawLine("USER " + username + " 8 * pwnd's_bot_tbh");        utils.sendRawLine("JOIN #pwndsemobot");        new InputThread(utils).start();        return false;    }}