return buffer_get_string(&incoming_packet, length_ptr);
}
-/*modified by binhe*/
/* Clears incoming data buffer */
void packet_get_all(void)
{
buffer_clear(&incoming_packet);
}
-/*end of modification*/
/*
* Sends a diagnostic message from the server to the client. This message