This statement will covert your Byte Array to string.
string stringdata = Encoding.UTF8.GetString(data, 0, recv);
The following code converts Byte Array to Hex string
StringBuilder hexString = new StringBuilder(data.Length * 2);
foreach (byte b in data)
hexString.AppendFormat("{0:x2}", b);
or you can use
string hexString = BitConverter.ToString(data);