recv() and send() only work on socket descriptors, and let you specify options for the actual operation.
recv()
send()
read() and write() work on any file descriptors.
read()
write()