]> git.eshelyaron.com Git - emacs.git/commit
Implement hostname->ip lookup function
authorRobert Pluim <rpluim@gmail.com>
Mon, 16 Jul 2018 17:43:41 +0000 (19:43 +0200)
committerRobert Pluim <rpluim@gmail.com>
Mon, 16 Jul 2018 17:44:54 +0000 (19:44 +0200)
commite89c06e8cea429620bc2cf4a98b9b741861b811a
treefbd168a342c20512c982bc7641b5bbbf870818d8
parentfab6139b8954c4d33c4430a722337e09939aa777
Implement hostname->ip lookup function

* src/process.c (conv_sockaddr_to_lisp): Add include_port
argument.  Don't put a port in the result if this is false.
(conv_addrinfo_to_lisp, Fprocess_datagram_address)
(connect_network_socket, network_interface_list)
(network_interface_info, server_accept_connection)
(init_process_emacs): Update callers.
(Fnetwork_lookup_address_info): New function.  Performs hostname to
ip address lookups.

* src/w32.c (network_interface_get_info): Update callers of
  conv_sockaddr_to_lisp

* etc/NEWS : mention addition of 'network-lookup-address-info'
etc/NEWS
src/process.c
src/process.h
src/w32.c