Panda3D
datagramTCPHeader.I
1 // Filename: datagramTCPHeader.I
2 // Created by: drose (01Aug01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: DatagramTCPHeader::get_header
18 // Access: Public
19 // Description: Returns a pointer to a block of data of length
20 // datagram_tcp_header_size, which can be written to the
21 // network as the header information.
22 ////////////////////////////////////////////////////////////////////
23 INLINE string DatagramTCPHeader::
24 get_header() const {
25  return _header.get_message();
26 }
string get_header() const
Returns a pointer to a block of data of length datagram_tcp_header_size, which can be written to the ...
string get_message() const
Returns the datagram's data as a string.
Definition: datagram.I:431