|
Patrick: Unfortunately, no, there's no necessary DNS requirement. The name used is commonly simply the "Computer name" from the System>Network Identification property of the WinNt/2k system... the "Windows Network Neighborhood" name... the NetBEUI name. While this generally will also be the "host" name, there's no guarantee that DNS will even be in use. I will have no control over the network setup and probably cannot rely on DNS being used. Obviously the iSeries knows, but there seems to be no way to ask it. Tom Liotta midrange-l-request@xxxxxxxxxxxx wrote: > 5. Re: QNTC and IP address (Patrick Townsend) > >It's been a while since I looked at QNTC, but don't you have the DNS name of >the Windows server for the mounted drive? If so there are sockets network >API calls that can turn a DNS name into an IP address. I might be really off >on how QNTC works..... > >Patrick >----- Original Message ----- > >> Does anybody have a reasonable idea about how an IP address could be >determined for a streamfile located somewhere within /QNTC? >> >> Say I'm passed a path where I'm supposed to FTP or CPY a streamfile to. >When finished, I might want to do something like RUNRMTCMD to the system >hosting the streamfile or open a socket to a port over there. >> >> I'd first hoped I could find something within the Server Support APIs, but >I don't see anything useful. Likewise for stat(), fstat(), Qp0lGetAttr() and >a couple others. >> >> Maybe a whole different approach? -- -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.