Guys and gals,
I'm currently venturing into sockets programming and subsequently, I ran into two functions which I'm not quite familiar. They are the bcopy() and bzero() functions.
You see... I'm an MS-Windows (and MS-DOS) user (I like it very much) and programmer (now don't strangle me hehehe... ). Anyway, those functions are obviously present in Unix and used in its sockets programming.
I already have an idea of what they do:
bzero() can set the address structure of something with zeros.
bcopy() can be used to copy the IP address of the data structure of the host into the data variable associated with struct sockaddr_in.
But knowing these just aren't enough for me. If anyone here knows more about the essentials of their function prototypes and some details of how these functions work, you can fill me in on it .
Your knowledge will certainly help me in creating a my own similar bcopy() and bzero() for my program (if I can't find something similar in Windows).