Hi frnds i am a new to android app devp. Currently i am working on receiving multicast stream on android. through Following code i am trying to receive multicast data on my Tablet Micromax alpha p250 ICS and android version 4.0.1. But when the app runs it show the error message like "setsockopt failed ENODEV(no such device)"

Plz suggest any soln. Thanking u all in advance



Java Code:
package com.example.cdttiming;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.UnknownHostException;

import android.R.integer;
import android.app.Activity;
import android.content.Context;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.view.Menu;
import android.widget.EditText;


public class MainActivity extends Activity
{

	@Override
	 
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		EditText Seconds;
		Seconds =(EditText)findViewById(R.id.Seconds);
		
		WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE); 
		WifiManager.MulticastLock multicastLock = wm.createMulticastLock("mydebuginfo"); 
		multicastLock.setReferenceCounted(true);		
		multicastLock.acquire();
		 
		    InetAddress ia = null;
	        byte[] buffer = new byte[65535];
	        MulticastSocket ms = null;
	        int port = 4321;
	        try 
	        {
	        ia = InetAddress.getByName("226.1.1.1");
	        DatagramPacket dp = new DatagramPacket(buffer, buffer.length,ia,port);
	        ms = new MulticastSocket(port);
	        ms.setReuseAddress(true);
	        ms.joinGroup(ia);
	            
	            
	          // while (true) 
	           for(int i=0;i<10;i++)
	            {
	                ms.receive(dp);
	                String s = new String(dp.getData(),0,dp.getLength());
	                Seconds.setText(s);
	            }
	            
	           

	        }
	        catch (UnknownHostException e)
	        {
	        	Seconds.setText(e.getMessage());
	        	 
	        }
	        catch (IOException e) 
	        {
	        	Seconds.setText(e.getMessage());
	        }
	        
	       

	}

	@Override
	 public boolean onCreateOptionsMenu(Menu menu)
	{
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}	

}

Below is the manifest file.

Java Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.cdttiming"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
     
     

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.cdttiming.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>