Issue1043

classification
Title: Special broadcast host address is not supported.
Type: Severity: normal
Components: Library Versions: 2.2.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: amak Nosy List: amak
Priority: Keywords:

Created on 2008-06-01.22:47:30 by amak, last changed 2008-06-19.13:38:14 by amak.

Messages
msg3213 (view) Author: Alan Kennedy (amak) Date: 2008-06-01.22:47:29
There is a special host address string "<broadcast>", as used by
cpython, is not supported on jython.

Although support for the SO_BROADCAST flag on UDP sockets is supported,
broadcast support may not be available in a portable way until the
"<broadcast>" address is supported.
msg3292 (view) Author: Alan Kennedy (amak) Date: 2008-06-19.13:38:13
This is quite a complex subject, because both cpython and java behave
differently for different bind addresses on different platforms.

Here are some links which discuss the topic

Java
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212324
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4191980
http://bugs.sun.com/view_bug.do?bug_id=6579726
http://mail.openjdk.java.net/pipermail/net-dev/2008-February/000138.html

Cpython
http://mail.python.org/pipermail/python-list/2003-February/189535.html
http://mail.python.org/pipermail/python-list/2003-April/201645.html
http://mail.python.org/pipermail/python-list/2007-April/434587.html
http://mail.python.org/pipermail/python-dev/2006-May/065443.html

So, I'm going to have to do a lot of experimentation to see what the
recommended approach is for implementing broadcast on jython.

More soon.
History
Date User Action Args
2008-06-19 13:38:14amaksetmessages: + msg3292
2008-06-01 22:47:30amakcreate