FreeBSD Bugzilla – Attachment 146665 Details for
Bug 193246
Bug in IPv6 multicast join(), uncovered by Jenkins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
MulticastTest.java
MulticastTest.java (text/plain), 812 bytes, created by
Craig Rodrigues
on 2014-09-02 08:06:20 UTC
(
hide
)
Description:
MulticastTest.java
Filename:
MIME Type:
Creator:
Craig Rodrigues
Created:
2014-09-02 08:06:20 UTC
Size:
812 bytes
patch
obsolete
>/* > * To build this test, > * (1) Make sure that the OpenJDK is installed from ports: > * > * pkg install openjdk > * > * (2) Rename this file to: MulticastTest.java > * (3) Build it: > * > * javac MulticastTest.java > * > * (4) Run it: > * > * java MulticastTest.java > * > */ > >import java.net.InetAddress; >import java.net.MulticastSocket; > >class MulticastTest >{ > > public static void main(String[] args) > { > try { > int PORT = Integer.getInteger("hudson.udp",33848); > > InetAddress MULTICAST = InetAddress.getByAddress(new byte[]{(byte)239, (byte)77, (byte)124, (byte)213}); > MulticastSocket mcs = new MulticastSocket(PORT); > mcs.joinGroup(MULTICAST); > } catch (Exception e) { > e.printStackTrace(); > System.exit(-1); > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193246
: 146665