Home › Forums › Support › Empty packet receive handler? Tagged: signaling_packets AppendIncomingPacketHandler SendObject This topic has 2 replies, 2 voices, and was last updated 10 years, 5 months ago by Anonymous. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts July 3, 2014 at 16:40 #2729 AnonymousInactive Hi there, i read in the documentation () that you can send empty packets for signaling, which is pretty cool. But i haven’t found any suitable AppendIncomingPacketHandler(), so my question is: How do i setup a packethandler for those “signaling” packets? -Namikon July 5, 2014 at 14:24 #2735 AnonymousInactive Heya Namikon, Just create a standard packet handler and expect the incoming object to be null, i.e: private static void HandleIncomingMessagePacket(PacketHeader header, Connection connection, string incomingString) { Console.WriteLine("\n ... Incoming message from " + connection.ToString() + " saying '" + incomingString + "'."); } If a signal packet is sent, i.e. a send where there is no send object, expect incomingString to be null. Regards, Marc July 7, 2014 at 08:34 #2741 AnonymousInactive Awesome, thanks 🙂 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In