SocketServer.py on win32

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel Greenblatt

    SocketServer.py on win32

    Has anyone used the SocketServer.py module successfully on windows?

    I don't know if I'm doing something terribly wrong, here but I use a
    SocketServer in my app, running it in a seperate thread, and get very
    finnicky behavior on my windows XP machine (while the code runs fine
    on other *nix platforms). Sometimes my app freezes as soon as the
    socketserver thread is started, other times it is freezes once it
    receives a connection. Any help would be greatly appreciated. I.e. is
    it my code, or just one of those windows things? If it is a win.
    thing, are there any reasonable workarounds?

    Thanks in advance,
    Dan Greenblatt
  • Colin Brown

    #2
    Re: SocketServer.py on win32


    "Daniel Greenblatt" <dan@cgl.ucsf.e du> wrote in message
    news:250e449e.0 310131740.5d107 49@posting.goog le.com...[color=blue]
    > Has anyone used the SocketServer.py module successfully on windows?
    >
    >...Sometimes my app freezes as soon as the
    > socketserver thread is started, other times it is freezes once it
    > receives a connection.[/color]

    I have been caught out under Windows running Python tasks interactively.
    If you click in the command shell window (ie the title line says Select...)
    then your python application will hang awaiting keyboard input!

    Colin Brown
    PyNZ



    Comment

    • Daniel Greenblatt

      #3
      Re: SocketServer.py on win32

      Hmmm. This socketserver is actually a small part of a much bigger
      python app, running in a seperate thread. I haven't experimented with
      running it interactively.

      Thanks,
      Dan

      "Colin Brown" <cbrown@metserv ice.com> wrote in message news:<3f8b81cb$ 1@news.iconz.co .nz>...[color=blue]
      > "Daniel Greenblatt" <dan@cgl.ucsf.e du> wrote in message
      > news:250e449e.0 310131740.5d107 49@posting.goog le.com...[color=green]
      > > Has anyone used the SocketServer.py module successfully on windows?
      > >
      > >...Sometimes my app freezes as soon as the
      > > socketserver thread is started, other times it is freezes once it
      > > receives a connection.[/color]
      >
      > I have been caught out under Windows running Python tasks interactively.
      > If you click in the command shell window (ie the title line says Select...)
      > then your python application will hang awaiting keyboard input!
      >
      > Colin Brown
      > PyNZ[/color]

      Comment

      Working...