Re: PlainSocketImpl.java PlainSocketImpl.c and my own socket implementation

2007-02-04 Thread Leandro Melo de Sales
Still in this discussion, in the constructor of my MySocket class, I call super(host, port) and set the SocketImplFactory passing my factory as argument. When I create a instance the method bind is called due to Socket implementation, but instand of the bind method receive the host and port parame

PlainSocketImpl.java PlainSocketImpl.c and my own socket implementation

2007-02-04 Thread Leandro Melo de Sales
Hi Steve and others, I'm trying to create socket implementation for a transport protocol different of TCP and UDP (in linux), but similar to TCP, since it is a oriented connection protocol. I want to integrate it into the JVM. So, I wrote a C to Java wrapper to call native methods by using JNI