Added some functions for writing data to the ring buffer directly Increased the size of ring buffer
This is used in the UDP connection