Hi Alan,

I tried asyncore with Jython 2.2.1 and received error messages that the port is not watchable.  Would you expect this to be the response now until more updates are made??

 - Bob


-----Original Message-----
From: Alan Kennedy <jython-dev@xhaus.com>
To: boblusebob@aim.com
Cc: jython-dev@lists.sourceforge.net
Sent: Fri, 4 Jan 2008 1:46 am
Subject: Re: [Jython-dev] Answered 2 Old Problems

[Bob]
> I also updated a more recent problem that is quite a bit more problematic.
> Its number is 1782548. I am willing to work on it and I have background in
> that area, but I will need help from Alan or someone to answer questions and
> advise me on making modifications to the socket.py module, as it can be
> fairly complex.

I have updated the bug report to specify the problem and illustrate
the solution.

Essentially, the problem is that the UDP socket implementation is
still in a halfway house. The creation of sockets is done through the
java.nio.DatagramChannel.open() method. But the send and receive are
still done through the old java.net.DatagramSocket.send() and
.receive() methods.

I have attached test code to the bug that shows that if the UDP
implementation is updated to the use the
java.nio.DatagramChannel.send() and .receive() methods, this bug will
disappear.

http://sourceforge.net/tracker/index.php?func=detail&aid=1782548&group_id=12867&atid=112867

Regards,

Alan.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jython-dev mailing list
Jython-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-dev

More new features than ever. Check out the new AIM(R) Mail!