W3cubDocs

/Godot 3.0

PacketPeerStream

Inherits: PacketPeer < Reference < Object

Category: Core

Brief Description

Wrapper to use a PacketPeer over a StreamPeer.

Member Variables

Description

PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_packetpeerstream.html