Thanks to visit codestin.com Credit goes to github.com
Unix Sockets: serialize a class and send through a socket.