Tcp implementation of buffer storage