diff src/wifibroadcast/WifiMulticast.java @ 9:95d58cc5bb0b

instance for test, multiple senders
author one
date Sun, 29 Jul 2012 00:03:29 +0900
parents 248ae478dbe6
children e1f43b669cdb
line wrap: on
line diff
--- a/src/wifibroadcast/WifiMulticast.java	Sat Jul 28 22:06:42 2012 +0900
+++ b/src/wifibroadcast/WifiMulticast.java	Sun Jul 29 00:03:29 2012 +0900
@@ -12,7 +12,7 @@
 	private InetAddress mAddr;
 	private int port;
 
-	public WifiMulticast(String mCASTADDR, int port, SocketType sender) throws IOException {
+	public WifiMulticast(int id, String mCASTADDR, int port, SocketType sender) throws IOException {
 		this.port = port;
 		try {
 			mAddr = InetAddress.getByName(mCASTADDR);