Logo Search packages:      
Sourcecode: paris-traceroute version File versions  Download package

void TCPHeader::setDestPort ( uint16  port  ) 

Set the 'Destination port' field (bytes 2-3).

Definition at line 53 of file TCPHeader.cc.

References Util::writebe16().

                                   {
  Util::writebe16(header, 2, port);
}


Generated by  Doxygen 1.6.0   Back to index