Socket Programming using c#

Apr 11 2007 1:20 PM
I am trying to send packets across the network (third party).
I am sending ASCII representation of Binary format, whereas I need to send BINARY Integers. How do I perform this operation?
I am using following snippet

Socket m_socClient;
byte[] Message_To_Send = null;

Message_To_Send = System.Text.Encoding.Default.GetBytes("101" + System.Environment.NewLine);

m_socClient.Send(Message_To_Send);