Fixed a bug when sending data from a BSD socket