char buffer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • doodle4@gmail.com

    #1

    char buffer

    Hello all,

    I need to create 6 buffers in python and keep track of it.
    I need to pass this buffer, say buffer 1 as an index to a test app. Has
    any one tried to do this. Any help with buffer management appreciated.

    Thanks,
    -Joe

  • Jaime Wyant

    #2
    Re: char buffer

    You'll probably want to be more specific. First thing that comes to
    mind is how do you plan on passing the `buffer' to your `test app'. I
    can think of a couple of ways off hand -- socket, stdin or maybe as a
    command line argument.

    If you're doing one of those, then I don't think you'll need a buffer
    as much as you'll need a simple python string.

    jw

    On 10 Mar 2005 13:36:40 -0800, doodle4@gmail.c om <doodle4@gmail. com> wrote:[color=blue]
    > Hello all,
    >
    > I need to create 6 buffers in python and keep track of it.
    > I need to pass this buffer, say buffer 1 as an index to a test app. Has
    > any one tried to do this. Any help with buffer management appreciated.
    >
    > Thanks,
    > -Joe
    >
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >[/color]

    Comment

    • Diez B. Roggisch

      #3
      Re: char buffer

      doodle4@gmail.c om wrote:
      [color=blue]
      > Hello all,
      >
      > I need to create 6 buffers in python and keep track of it.
      > I need to pass this buffer, say buffer 1 as an index to a test app. Has
      > any one tried to do this. Any help with buffer management appreciated.[/color]

      Use the module array.

      --
      Regards,

      Diez B. Roggisch

      Comment

      • doodle4@gmail.com

        #4
        Re: char buffer

        Each buffer need to hold 512 bytes of data.
        Thanks,
        -Joe

        Comment

        Working...