TCP/IP and ASTM protocol

  • Thread starter Thread starter vaidas gudas
  • Start date Start date
V

vaidas gudas

I have one laboratoric device, which it is connected with computer by
TCP/IP.
I know taht this device is using ASTM protocol.
I need to connect to this deviceand send him some commands.
How to do this and maybe you can give me the example link.

Thanks
 
I have one laboratoric device, which it is connected with computer by
TCP/IP.
I know taht this device is using ASTM protocol.
I need to connect to this deviceand send him some commands.
How to do this and maybe you can give me the example link.

As far as .NET is concerned, the fact that ASTM is used isn't relevant.
However, given that the connection is a TCP/IP connection, you will
find the Socket and TcpClient classes useful. Either one should serve
your needs for communicating.

http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx
http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx

Pete
 
Back
Top