Re: [Cse461] pack string error msg

From: Janet Davis (jlnd_at_cs.washington.edu)
Date: Mon Feb 16 2004 - 19:02:07 PST

  • Next message: Janet Davis: "[Cse461] Initial sequence number"

    On Mon, 16 Feb 2004, Kelly Jensen wrote:

    > What are the contents suppposed to be in the transport packet in field
    > "payload"? We are treating it like a string but when we call transport.pack
    > we get the following error:
    >
    > ./packet.rb:197:in `pack': no implicit conversion from string (TypeError)

    I ran into this same issue myself. I bet the problem is that some of the
    other members of Transport are strings when they ought to be integers.
    (You can always print them out and see.)

    Cheers,
    Janet

    -- 
    Janet Davis
    jlnd_at_cs.washington.edu
    http://www.cs.washington.edu/homes/jlnd/
    _______________________________________________
    Cse461 mailing list
    Cse461_at_cs.washington.edu
    http://mailman.cs.washington.edu/mailman/listinfo/cse461
    

  • Next message: Janet Davis: "[Cse461] Initial sequence number"

    This archive was generated by hypermail 2.1.6 : Mon Feb 16 2004 - 19:02:11 PST