root / DistributedBackupService / src / sockets / MultiCastSocket.java
History | View | Annotate | Download (553 Bytes)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
package sockets; |
7 |
|
8 |
import java.io.IOException; |
9 |
import java.net.InetAddress; |
10 |
import java.net.MulticastSocket; |
11 |
|
12 |
import server.Peer; |
13 |
|
14 |
|
15 |
public class MultiCastSocket extends Socket{ |
16 |
public MultiCastSocket(Peer peer, String address, String port) throws IOException { |
17 |
super(peer, address, port);
|
18 |
|
19 |
System.out.println("MC: socket is alive!"); |
20 |
} |
21 |
} |