SyntaxFix
Write A Post
Hire A Developer
Questions
read() and write() are more generic, they work with any file descriptor. However, they won't work on Windows.
read()
write()
You can pass additional options to send() and recv(), so you may have to used them in some cases.
send()
recv()