socket_address [function]

socket_address( int addrfamily, string addrstring[, int port ])

create address from string, optionally set port