Record: Datagram

A self-contained, independent entity of data carrying sufficient information to be routed from the source to the destination nodes without reliance on earlier exchanges between the nodes and the transporting network.

Closed record

Fields

  • remoteHost string
  • The hostname or the IP address of the remote host

  • remotePort int
  • The port number of the remote host

  • data byte[ ]
  • The content which needs to be transported to the remote host