Socket Connection Support

Dan Housman dhousman at virtuflex.com
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<-----------

import java.net.*;
import java.io.*;

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

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

The output is:

About to allocate a socket for listening
java.lang.NullPointerException
        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 virtuflex.com        930 Massachusetts Avenue
VP Sales and Marketing     Cambridge, MA 02139
Ph:617.497.8006 Ext. 23    Fax: 617.492.0486
http://www.virtuflex.com
VirtuFlex is a versatile tool for developing dynamic web sites!
_______________________________________________________________



More information about the kaffe mailing list