View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003182 | FSiMX6 | Ethernet | public | 2017-03-24 16:33 | 2017-03-24 18:03 |
Reporter | derksen | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | V2.20 | ||||
Target Version | V2.30 | Fixed in Version | V2.30 | ||
Summary | 0003182: Improve UDP/TCP communication functionality | ||||
Description | Some customers have reported that TCP/UDP communication fails and exceptions occur. In some cases eth didn't work after that. | ||||
Steps To Reproduce | For 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 Version | V1.4 | ||||
Fixed Driver Version | V1.5 | ||||