RE: Retrieving a fully qualified hostname under NT

1998-11-17 Thread dmarsh
Oops I pressed Control-S for Send... darn it (windowsdir)\LMHOSTS. The file on NT is not specified and you MUST point to it through the IP setup screens. The normal location for it is (winntdir)\system32\drivers\etc\lmhosts (which is where the other Unix like files are also, hosts, services, prot

RE: Retrieving a fully qualified hostname under NT

1998-11-17 Thread dmarsh
n for it is (winntdir)\system32\drivers\etc\lmhosts (which is where the other Unix like files are also, hosts -Original Message- From: Christopher Hinds [mailto:[EMAIL PROTECTED]] Sent: Friday, November 13, 1998 10:02 AM To: Mark Hofmann Cc: java-linux Subject: Re: Retrieving a fully qu

Re: Retrieving a fully qualified hostname under NT

1998-11-16 Thread Mark Hofmann
Thanks alot for your help, looks like we've found something which isn't really write-once-run-everywhere like ... I don't like to implement something just because the java-port for a particular OS does NOT do what it should (according to the java-doc getHostName() retrieves the FQHN). For me, th

Re: Retrieving a fully qualified hostname under NT

1998-11-14 Thread John Summerfield
On Thu, 12 Nov 1998, Mark Hofmann wrote: > Hi all, > > I've posted that question a few days ago to java.lang.programmer > but got no response :-( > But, since this problem is really bugging me, and there might be some > people in this list that run there progs under NT and Linux, just as me, > I

Re: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Jason Dillon
You should not have too, but if you want FQDN, then it looks like this might be the best way. Otherwise you will have to jump throgh lots of hoops to check if the value the jvm returns is really a FQDN. --jason On 13-Nov-98 Michael Sinz wrote: > On Fri, 13 Nov 1998 10:01:30 -0800, Christopher

RE: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Jason Dillon
Try oracle.com --jason On 13-Nov-98 Rudhuwan Abu Bakar wrote: > > hello > > sorry for this. > > Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and > want to use a Java-based client. > > Thank you for your time. > > regards > duan

Re: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Michael Sinz
On Fri, 13 Nov 1998 10:01:30 -0800, Christopher Hinds wrote: >Try using a reverse DNS lookup with that host's IP address , you should >get >a fully qualified host name from that. This obviously means you will >have to use the DNS protocol on an open socket. The problem with NT is >it is using >WI

Re: JDBC for Oracle (was: RE: Retrieving a fully qualified hostname under NT)

1998-11-13 Thread Jason Kissinger
Urban Widmark wrote: > On Fri, 13 Nov 1998, Rudhuwan Abu Bakar wrote: > > > > > hello > > > > sorry for this. > > > > Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and > > want to use a Java-based client. > > > > Thank you for your time. > > > > regards > > duan > > > > I

Re: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Christopher Hinds
Try using a reverse DNS lookup with that host's IP address , you should get a fully qualified host name from that. This obviously means you will have to use the DNS protocol on an open socket. The problem with NT is it is using WINS ( NT DNS) to resolve the name and that name returned is a host na

RE: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Markus Bader
I think it should work to get the IPAddress and then create a new InetAddress: InetAddress add = InetAddress.getByName("xxx.xxx.xx.x"); Now you can use add.getHostName() and you should get the fully qualified hostname. Markus On 12-Nov-98 Mark Hofmann wrote: > Hi all, > > I've posted that que

JDBC for Oracle (was: RE: Retrieving a fully qualified hostname under NT)

1998-11-13 Thread Urban Widmark
On Fri, 13 Nov 1998, Rudhuwan Abu Bakar wrote: > > hello > > sorry for this. > > Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and > want to use a Java-based client. > > Thank you for your time. > > regards > duan > I believe Oracle includes their JDBC driver with

RE: Retrieving a fully qualified hostname under NT

1998-11-12 Thread Rudhuwan Abu Bakar
hello sorry for this. Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and want to use a Java-based client. Thank you for your time. regards duan

RE: Retrieving a fully qualified hostname under NT

1998-11-12 Thread Jason Dillon
Under Linux I don't get the FQDN for my machine. Primarily because when I set the machine up i did not specify it's hostname as its FQDN (which I don't think it should be). Java should have better access to the local machine's various names, but then again Java should have lots of better things.

Retrieving a fully qualified hostname under NT

1998-11-12 Thread Mark Hofmann
Hi all, I've posted that question a few days ago to java.lang.programmer but got no response :-( But, since this problem is really bugging me, and there might be some people in this list that run there progs under NT and Linux, just as me, I hope to find a solution here. Anyway, here is the probl