Spam Bot, broken pipe

Someone Something fordhaivat at gmail.com
Sat Nov 7 21:06:12 EST 2009


I'm just testing it on my channel! I promise! Besides, I'm doing it to learn
about sockets! Please!


On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund <krister.svanlund at gmail.com
> wrote:

> On Sun, Nov 8, 2009 at 2:00 AM, Someone Something <fordhaivat at gmail.com>
> wrote:
> > I have a irc spam bot (only testing on my channel :P ) whose main loop is
> > the following:
> >
> > privc="PRIVMSG "+self.channel
> > while True:
> >      self.sock.send(privc=" :SPAM SPAM SPAM!");
> >      time.sleep(2);
> >
> > And it gives an error "Broken Pipe".
> > How can I fix this?
>
> By doing it right... unfortunaly I don't approve of spam and can
> therefor not tell you how to do that.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091107/f647409a/attachment.html>


More information about the Python-list mailing list