Groups | Blog | Home
all groups > dotnet framework > november 2007 >

dotnet framework : TCP/IP and ASTM protocol


vaidas gudas
11/30/2007 9:24:14 AM
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


Peter Duniho
11/30/2007 10:20:00 AM
On 2007-11-29 23:24:14 -0800, "vaidas gudas" <vaidas.gudas@rst.lt> said:

[quoted text, click to view]

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
AddThis Social Bookmark Button