In this section we cover and explain Multicast Constructor Have a Port in details for freshers and experienced
previous | Home | Next |
Multicast Constructor
The Multicast Constructor is declare on the Port.
Example
import sun.net.*; import java.net.*; public class multicastportconstructor { public static void main(String[] args) { try { MulticastSocket ms = new MulticastSocket(2048); System.out.println(ms); } catch (SocketException se) { System.err.println(se); } } }
previous | Home | Next |