So, I'm trying to memorize and learn the make up of the client model. I ran across the function bcopy. The tutorial I am using is awesome it really broke it down for me. http://www.linuxhowtos.org/C_C++/socket.htm is what i have so far right? I am using the variable, server, to point to the struct type hostent. I am getting the ip address with gethostbyname, netdb header. Storing it in h_addr in the hostent struct. Now bcopy, I copy a specified length from the source to the destination. I copy the ip length(in h_length), dereference the struct variable server and access h_addr, copying the ip to serv_addr.sin_addr.s_addr. Where as in the server I would set serv_addr.sin_addr.s_addr to INADDR_ANY; The tutorial can only teach so much, as much as i can "understand"! Help from experienced programmers, can tell me if what i learned was correct or not. Any further insight, or more info would be appreciated!