Socket Connection Support

Dan Housman dhousman at
Wed Apr 30 11:27:19 PDT 1997

I am having trouble getting the following standard Java function to  work in
the Kaffe environment. It is actually fairly simple command that allocates a
socket for listening on the server. The following is a code tidbit with the
part that fails and the failure message:

------------------ Code Clip Cut here ----- 8<-----------


System.out.println("About to allocate a socket for listening");
ServerSocket SS = new ServerSocket(3390);

----------------------- 8< ---- cut here --------------

The output is:

About to allocate a socket for listening
        at java/lang/Runtime.initializeLinker(line unknown, pc 0xbe84d)
        at java/lang/Runtime.loadLibrary(line unknown, pc 0xbe0ec)
        at java/lang/System.loadLibrary(line unknown, pc 0xb7883)
        at java/net/PlainSocketImpl.<clinit>(63)

What is failing, can it be fixed, or does Kaffe not support Socket type
functions as of yet?

Dan Housman                VirtuFlex Software Corp.
house at        930 Massachusetts Avenue
VP Sales and Marketing     Cambridge, MA 02139
Ph:617.497.8006 Ext. 23    Fax: 617.492.0486
VirtuFlex is a versatile tool for developing dynamic web sites!

More information about the kaffe mailing list