How to convert byte in to Boolean
<p>I want to convert a byte into Boolean. This is the code:</p>

<pre><code>String text = textBox1.Text;
UdpClient udpc = new UdpClient(text,8899);
IPEndPoint ep = null;

while (true)
{
    MessageBox.Show("Name: ");
    string name = "Connected";
    if (name == "") break;

    byte[] sdata = Encoding.ASCII.GetBytes(name);
    udpc.Send(sdata, sdata.Length);

    if (udpc.Receive(ref ep)=null)
    {
      //  MessageBox.Show("Host not found");
    }
    else
    {        
        byte[] rdata = udpc.Receive(ref ep);
        string job = Encoding.ASCII.GetString(rdata);
        MessageBox.Show(job);
    }
}
</code></pre>

<p>I want to convert this line of code into a Boolean:</p>

<pre><code>  udpc.Receive(ref ep);
</code></pre>
