switch (type)
case NetMessageType.Data:
// A client sent this data!
}string msg = bufferReader.ReadString();NetBuffer sendBuffer = server.CreateBuffer();sendBuffer.Write((byte)PacketTypes.ChatMessage);sendBuffer.Write(msg);// send to everyone except senderserver.SendToAll(sendBuffer, NetChannel.ReliableInOrder1);.break;}
--
You received this message because you are subscribed to the Google Groups "lidgren-network" group.
To post to this group, send email to lidgren...@googlegroups.com.
To unsubscribe from this group, send email to lidgren-netwo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lidgren-network?hl=en.