Re: [Cse461] receiving packet problem

From: Minh-Tri H Le (minhtrile_at_juno.com)
Date: Sun Feb 22 2004 - 14:40:47 PST

  • Next message: Evan Martin: "Re: [Cse461] receiving packet problem"

    I simply don't allow ports to be reused - each connection is identified by the srcPort and destPort (reverse the order at sender/receiver as appropriate). When the connection is ESTABLISHED and a SYN is sent from any of the participant - it is simply ignored and the first connection is kept. I allow the ports to be resued after they have disconnected.

    Of course, I could be wrong - the specs of the project doesn't say anything about how to handle this situation.

    ---------- Minh-Tri Le ----------
    http://students.washington.edu/irthnim
    Cell: (425) 879-4662
    "If you love her, draw her a circle not a heart, for a heat breaks but a
     circle is never ending."

    -- Dung Nguyen <dnguyen_at_cs.washington.edu> wrote:
    My partner and I were working on the project today and we came across an
    issue. The assignment does not specify whether ports can be re-used or
    not, and since it was said that two-way byte streams could be built using
    two-way byte streams I was inclined to think that they could be. In this
    case, if we have two connections, one from (A:a)->(B:b) and the other
    (B:b)->(A:a). If A sends B a FIN packet, the information will be
    srcAddr:A, srcPort:a, destAddr:B, destAddr:b. Which connection should
    process it? You cannot tell from this information who is the "sender"
    and who is the "receiver".

    If it is the case that ports cannot be re-used, should we enforce this
    within our nodes, or can we assume that this is done already?

    How did everybody else deal with this?

    Dung and Eileen

    _______________________________________________
    Cse461 mailing list
    Cse461_at_cs.washington.edu
    http://mailman.cs.washington.edu/mailman/listinfo/cse461

    _______________________________________________
    Cse461 mailing list
    Cse461_at_cs.washington.edu
    http://mailman.cs.washington.edu/mailman/listinfo/cse461


  • Next message: Evan Martin: "Re: [Cse461] receiving packet problem"

    This archive was generated by hypermail 2.1.6 : Sun Feb 22 2004 - 14:48:47 PST