LiteNetManagerSendUnconnectedMessage(NetDataWriter, String, Int32) Method |
Send message without connection. WARNING This method allocates a new IPEndPoint object and
synchronously makes a DNS request. If you're calling this method every frame it will be
much faster to just cache the IPEndPoint.
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic bool SendUnconnectedMessage(
NetDataWriter writer,
string address,
int port
)
Parameters
- writer NetDataWriter
- Data serializer
- address String
- Packet destination IP or hostname
- port Int32
- Packet destination port
Return Value
BooleanOperation result
See Also