jwb@KSP.Unisys.COM (Joe W. Browne) (03/28/91)
Does anyone know how to get the IP address of a PC using either pascal or c. I know how to get the ethernet-addr. ========================================================================== Joe Browne Malvern Development Center UNISYS Corp PO BOX 203 jwb@KSP.unisys.com Paoli, Pa 19301 Office (215)-993-7183 ==========================================================================
jbvb@FTP.COM ("James B. Van Bokkelen") (04/02/91)
Does anyone know how to get the IP address of a PC using either pascal or c. This question can be interpreted in two ways: If you're using someone else's TCP/IP protocol stack (commercial or freeware), there is probably an API call that will tell you (in PC/TCP it is named get_addr()). See the programmer's manual for our package. If you're writing your own, and want to find out what IP address your PC should use, use the BOOTP protocol (RFC 951). James B. VanBokkelen 26 Princess St., Wakefield, MA 01880 FTP Software Inc. voice: (617) 246-0900 fax: (617) 246-0901