0
Answer

Socket Programming using c#

Shashikant

Shashikant

17y
2.1k
1
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);