I've changed from a linux computer to a windows and I'm having trouble compiling my code because these two OS don't share the same header files.
Since the unistd.h is not obviously included, Visual C doesn't know what read()
, write()
, close()
, socklen_t()
and bzero()
functions are. Can anyone help me with this?
I've googled this: Is there a replacement for unistd.h for Windows (Visual C)?
I have no idea how unistd.h works, nor do I know how to code my own. Can someone please link me to one?