View Issue Details

IDProjectCategoryView StatusLast Update
0003182FSiMX6Ethernetpublic2017-03-24 18:03
Reporterderksen Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionV2.20 
Target VersionV2.30Fixed in VersionV2.30 
Summary0003182: Improve UDP/TCP communication functionality
DescriptionSome customers have reported that TCP/UDP communication fails and exceptions occur. In some cases eth didn't work after that.
Steps To ReproduceFor UDP exception use following test:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace PoF_FnS {

    class Program {
        static void Main(string[] args) {
            try {
                var testByteCount = 23523;
                var target = new IPEndPoint(IPAddress.Parse("169.123.123.123"), 23523);
                var sender = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);

                var text = Encoding.Default.GetBytes(new string('5', testByteCount));

                Console.Write("Start sending");
                var lastProgress = DateTime.Now;
                int delayToReportProgress = 1000;
                while (true) {
                    sender.SendTo(text, target);

                    if (DateTime.Now - lastProgress >= TimeSpan.FromMilliseconds(delayToReportProgress)) {
                        lastProgress = DateTime.Now;
                        Console.Write(".");
                    }

                    Thread.Sleep(1);
                }
            } catch (Exception ex) {
                Console.WriteLine(ex.ToString());
                Console.WriteLine();
                Console.WriteLine("Press enter to exit");
                Console.ReadLine();
            }
        }


    }
}
Forum Link
Found Driver VersionV1.4
Fixed Driver VersionV1.5

Activities

There are no notes attached to this issue.