I have a irc spam bot (only testing on my channel :P ) whose main loop is the following:<br><br>privc="PRIVMSG "+self.channel<br>while True:<br>     self.sock.send(privc=" :SPAM SPAM SPAM!");<br>     time.sleep(2);<br>
<br>And it gives an error "Broken Pipe".<br>How can I fix this?<br>