
Lav2018
-Interested User-
Posts: 10
Joined: Mar 15, 2018
|
Posted: Apr 4, 2018 08:55 PM

Msg. 1 of 6
I've found all of the sample C# programs very helpful and the comments make for easy following. I have one question about the Level1Socket program. In Level1SocketForm.cs, lines 201-202 are: // move on to the next message. This isn't very efficient but it is simple (which is the focus of this example). sData = sData.Substring(sLine.Length + 1);
Do you have any examples showing more efficient ways? If not, can you please point me towards a better solution. Thank you.
|

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006
|
Posted: Apr 5, 2018 08:06 AM

Msg. 2 of 6
|

Lav2018
-Interested User-
Posts: 10
Joined: Mar 15, 2018
|
Posted: Apr 5, 2018 02:51 PM

Msg. 3 of 6
Makes sense. Thanks.
|

mathpaquette
-Interested User-
Posts: 22
Joined: May 18, 2018
|
Posted: May 18, 2018 06:43 AM

Msg. 4 of 6
|

mathpaquette
-Interested User-
Posts: 22
Joined: May 18, 2018
|
Posted: May 18, 2018 07:14 AM

Msg. 5 of 6
Well, I'm still skeptical about the real performance benefit of not using .Split. I'll do some performance tests to conclude on this.
|

mathpaquette
-Interested User-
Posts: 22
Joined: May 18, 2018
|
Posted: May 22, 2018 08:06 PM

Msg. 6 of 6
|