Last compile fix for VC12.3:
inet_addr is also deprecated, replaced by socket_ops::inet_pton.