I/O Multiplexing and non blocking socket

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Salvatore Di Fazio

    #1

    I/O Multiplexing and non blocking socket

    Hi guys,
    I'm looking for a tutorial to make a client with a i/o multiplexing and
    non blocking socket.

    Anybody knows where is a tutorial?
    Tnx

  • Bjoern Schliessmann

    #2
    Re: I/O Multiplexing and non blocking socket

    Salvatore Di Fazio wrote:
    I'm looking for a tutorial to make a client with a i/o
    multiplexing and non blocking socket.
    >
    Anybody knows where is a tutorial?
    Perhaps a bit of an overkill, but try this:



    Regards,


    Björn

    --
    BOFH excuse #30:

    positron router malfunction

    Comment

    • Salvatore Di Fazio

      #3
      Re: I/O Multiplexing and non blocking socket


      Jean-Paul Calderone ha scritto:
      On 1 Dec 2006 06:07:28 -0800, Salvatore Di Fazio <salvatore.difa zio@gmail.comwr ote:
      Hi guys,
      I'm looking for a tutorial to make a client with a i/o multiplexing and
      non blocking socket.

      Anybody knows where is a tutorial?
      >

      >
      Jean-Paul
      Thank you guys, but I would like to use the standard libraries

      Comment

      • Bjoern Schliessmann

        #4
        Re: I/O Multiplexing and non blocking socket

        Salvatore Di Fazio wrote:
        Thank you guys, but I would like to use the standard libraries
        Then I suggest you read a good book about Unix programming,
        especially about the workings of read(), write() and select(). If
        you've understood this doing it with python's read/write/select
        will be easy.

        Everyone may choose to reinvent the wheel :)

        Regards,


        Björn

        --
        BOFH excuse #180:

        ether leak

        Comment

        • Paul Boddie

          #5
          Re: I/O Multiplexing and non blocking socket

          Bjoern Schliessmann wrote:
          Salvatore Di Fazio wrote:
          >
          Thank you guys, but I would like to use the standard libraries
          >
          Then I suggest you read a good book about Unix programming,
          especially about the workings of read(), write() and select(). If
          you've understood this doing it with python's read/write/select
          will be easy.
          >
          Everyone may choose to reinvent the wheel :)
          Or use Python's standard library features:

          This module is no longer part of the Python standard library. It was removed in Python 3.12 after being deprecated in Python 3.6. The removal was decided in PEP 594. Applications should use the asy...

          This module is no longer part of the Python standard library. It was removed in Python 3.12 after being deprecated in Python 3.6. The removal was decided in PEP 594. Applications should use the asy...


          I have to confess, however, that I did reinvent the wheel recently
          rather than use asyncore, although I may adopt that particular wheel
          later on in the project concerned.

          Paul

          Comment

          Working...