Changes from send() to write() by DRO