forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_packetpeerstream
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: PacketPeer ####Category: Core
Wrapper to use a PacketPeer over a StreamPeer.
- void set_stream_peer ( StreamPeer peer )
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.
- void set_stream_peer ( StreamPeer peer )
Set the StreamPeer object to be wrapped