ns2 codes for semitcp