• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 26, 2024, 06:45:59 am

News:

SMF - Just Installed!


nrCommNet, ASTM, Socket

Started by rob, March 07, 2014, 09:52:26 am

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.