Fixed drift calculation when sending data buffers to socket