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

void TCPHeader::setSourcePort ( uint16  port  ) 

Set the 'Source port' field (bytes 0-1).

Definition at line 37 of file TCPHeader.cc.

References Util::writebe16().

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


Generated by  Doxygen 1.6.0   Back to index