Facepunch.Steamworks Wiki

Steamworks.ConnectionManager.OnMessage

Syntax

void OnMessage( System.IntPtr data, int size, System.Int64 messageNum, System.Int64 recvTime, int channel )

Arguments

System.IntPtr data
int size
System.Int64 messageNum
System.Int64 recvTime
int channel

How to use?

Allow clients to receive message from server , in order receive data see Receive method. Data is received as Intptr , if needed you'll need to convert it to byte[]. (you can check Marshal.Copy for that)