public static void SendByte(Socket socket, byte value) { var buffer = new[] {value}; Send(socket, buffer, 0, 1); }