[3155] in java-interest

home help back first fref pref prev next nref lref last post

Netscape20b1J Sockets buggy?

daemon@ATHENA.MIT.EDU (Fumihiko \"Miko\" Matsumura)
Wed Nov 1 19:41:37 1995

Date: Wed, 1 Nov 1995 13:24:08 -0800 (PST)
From: "Fumihiko \"Miko\" Matsumura" <miko@well.com>
To: java-interest@java.sun.com
cc: java@wired.com
In-Reply-To: <9510301733.AA09629@chevelle.hal.com>

I have a piece of Beta code that opens a socket to a telnet server.
Now, I've gotten the code to run as a JAVA application in the JDK beta.
I've also gotten the code to run ok in AppletViewer under beta.

But when I run it in Netscape 20b1J, it crashes with this error message:

java.lang.UnsatisfiedLinkError socketCreate
at java.net.PlainSocketImpl.create(PlainSocketImpl.java:44)
at java.net.Socket.<init>(Socket.java:83)

The line that is causing the crash is simply:

socket = new Socket("chat.hotwired.com",2428,true);

Like I said, it runs as a (non-applet) JAVA application, and it runs as 
an applet in the Applet viewer. Sounds like a Netscape bug to me. Any ideas?

Miko
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post