from panda3d.core import NetDatagram
- class NetDatagram
A specific kind of Datagram, especially for sending across or receiving from a network. It’s different only in that it knows which Connection and/or
NetAddressit is to be sent to or was received from.
Constructs an empty datagram.
- __init__(copy: Datagram)
- __init__(copy: NetDatagram)
- get_address() NetAddress
Retrieves the host from which the datagram was read, or to which it is scheduled to be sent.
- get_connection() Connection
Retrieves the socket from which the datagram was read, or to which it is scheduled to be written.