Changed the ipv4 socket method so it expects 4 bytes rather than a byte address