Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25026

Re: Socket code not executing properly in a thread (Windows)

From "Andrew D'Angelo" <excel@pharcyde.org>
Newsgroups comp.lang.python
Subject Re: Socket code not executing properly in a thread (Windows)
Date 2012-07-07 11:33 -0500
Organization http://lickitung.it.cx/
Message-ID <jt9okn$7pi$1@dont-email.me> (permalink)
References <jt9ec1$e5s$1@dont-email.me> <mailman.1895.1341677582.4697.python-list@python.org>

Show all headers | View raw


"Thomas Jollans" <t@jollybox.de> wrote in message 
news:mailman.1895.1341677582.4697.python-list@python.org...
> On 07/08/2012 12:55 PM, Andrew D'Angelo wrote:
>
> Please set your clock to the correct date and time.

My BIOS battery has died and I haven't gotten a chance to replace it. Made a 
mistake when setting the date on boot-up. :-\

> Do you have an error message or something?

No, it simply does not send the message.

> Without knowing more about the IRC library you're using

I am sending plain text to the socket, without a library.

> However,
> it's clear that you should be calling IRC.send from the main thread.
> That shouldn't be too hard to achieve, save the message to some sort of
> event or outgoing message queue that the main thread processes in 
> sequence.

Good idea, thanks. 

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-08 05:55 -0500
  Re: Socket code not executing properly in a thread (Windows) Thomas Jollans <t@jollybox.de> - 2012-07-07 18:12 +0200
    Re: Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-07 11:33 -0500
  Re: Socket code not executing properly in a thread (Windows) John Nagle <nagle@animats.com> - 2012-07-07 12:17 -0700
    Re: Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-08 04:03 -0500
      Re: Socket code not executing properly in a thread (Windows) Thomas Jollans <t@jollybox.de> - 2012-07-08 13:01 +0200

csiph-web