/** * Creates a new instance of type IRCConnection */ public function start() { // init protocol $this->protocol = Protocol::getInstance(); // start socket $this->startSocket(); // start server2server protocol $this->protocol->initConnection(); }