Answers for "c# socket send"

C#
1

c# socket send

byte[] msg = Encoding.UTF8.GetBytes("This is a test");
// Blocks until send returns.
int byteCount = server.Send(msg, 0, msg.Length, SocketFlags.None);
Console.WriteLine("Sent {0} bytes.", byteCount);
Posted by: Guest on December-07-2020

C# Answers by Framework

Browse Popular Code Answers by Language