• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 09, 2025, 06:29:46 pm

News:

SMF - Just Installed!


nrCommNet, ASTM, Socket

Started by rob, March 07, 2014, 12:52:26 pm

Previous topic - Next topic

rob

Newbie question.

I'm building a .NET client application. How do I configure the NrAstm to use a socket connection rather than the COM port as shown in the demo app?

Thanks

Roman Novgorodov

Hello

You can try something like following:


    var client = new TcpClient(eHost.Text, (int) ePort.Value);               
    var stream = client.GetStream();
    nrAstm1.MediumObject = stream;


Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.