socketをsocket_ipv4とsocket_localに分割