some help with this script for tracking face movement

hello
if found this script on the web. it’s difficult to me to understand all this line. but the page say that is the same script as found here. HugeDomains.com
I test it with a camera but there is some error with this script. can anyone understand this can help and give us a final working script.

    using System;
    using System.Globalization;
    using System.Net;
    using System.Net.Sockets;
    using System.Text;
    using System.Threading;
    using UnityEngine;
    public class Streamer : MonoBehaviour
    {
    	private const int BUFFER_SIZE = 2048;
    	private byte[] readBuffer = new byte[2048];
    	private Socket client;
    	private static int debugCount;
    	private EndPoint tmpRemote;
    	private float headTranslationX;
    	private float headTranslationY;
    	private float headTranslationZ;
    	private float headRotationX;
    	private float headRotationY;
    	private float headRotationZ;
    	private bool hasQuit;
    	private void Start()
    	{
    		try
    		{
    			IPEndPoint localEP = new IPEndPoint(IPAddress.Any, 29129);
    			this.client = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
    			this.client.Bind(localEP);
    			this.client.BeginReceive(this.readBuffer, 0, 2048, SocketFlags.None, new AsyncCallback(this.onReceive), null);
    		}
    		catch (Exception )
    		{
    			Debug.Log("Error on BeginReceive.");
    		}
    	}
    	private void OnApplicationQuit()
    	{
    		this.hasQuit = true;
    	}
    	private void Update()
    	{
    		Debug.Log(this.headRotationX);
    		Monitor.Enter(this);
    		try
    		{
    			Transform arg_3A_0 = base.get_transform();
    			Vector3 localEulerAngles = new Vector3(-this.headRotationX, -this.headRotationY, this.headRotationZ);
    			arg_3A_0.set_localEulerAngles(localEulerAngles);
    		}
    		finally
    		{
    			Monitor.Exit(this);
    		}
    	}
    	private string adjustEncoding(string message)
    	{
    		string text = "" + 2.5;
    		if (text.Contains(","))
    		{
    			return message.Replace(".", ",");
    		}
    		return message;
    	}
    	private void onReceive(IAsyncResult ar)
    	{
    		try
    		{
    			int num = this.client.EndReceive(ar);
    			string text = Encoding.ASCII.GetString(this.readBuffer);
    			text = this.adjustEncoding(text);
    			string[] array = text.Split(new char[]
    			{
    				' '
    			});
    			if (array.Length >= 6)
    			{
    				Monitor.Enter(this);
    				try
    				{
    					bool flag = float.TryParse(array[0], NumberStyles.Float, null, out this.headTranslationX);
    					flag = float.TryParse(array[1], NumberStyles.Float, null, out this.headTranslationY);
    					flag = float.TryParse(array[2], NumberStyles.Float, null, out this.headTranslationZ);
    					flag = float.TryParse(array[3], NumberStyles.Float, null, out this.headRotationX);
    					flag = float.TryParse(array[4], NumberStyles.Float, null, out this.headRotationY);
    					flag = float.TryParse(array[5], NumberStyles.Float, null, out this.headRotationZ);
    				}
    				finally
    				{
    					Monitor.Exit(this);
    				}
    			}
    		}
    		catch (Exception arg_DE_0)
    		{
    			Exception exception = arg_DE_0;
    			Debug.Log("Error on Connector.onReceive.");
    			Debug.Log(exception);
    		}
    		if (!this.hasQuit)
    		{
    			this.client.BeginReceive(this.readBuffer, 0, 2048, SocketFlags.None, new AsyncCallback(this.onReceive), null);
    		}
    	}
    }

his is the error message i have

Assets/NewBehaviourScript.cs(46,43): error CS0571: `UnityEngine.Component.transform.get’: cannot explicitly call operator or accessor

Assets/NewBehaviourScript.cs(48,26): error CS0571: `UnityEngine.Transform.localEulerAngles.set’: cannot explicitly call operator or accessor

Assets/NewBehaviourScript.cs(80,30): warning CS0219: The variable `flag’ is assigned but its value is never used

Assets/NewBehaviourScript.cs(68,21): warning CS0219: The variable `num’ is assigned but its value is never used

any one can tell us what’s the mean.thanks,