I'm realy a newcomer i need advicesOkay. So what specific problem have you run into when you tried to implement this connection? Show us your code. Please post your code as text in code tags (not a screenshot).
I have the IP address of the device and the port from which the data will be transmitted. I would like to be able to create an interaction between the windows form I created and this device by TCP/Ip in such a way that I can receive the data from this device on the windows form. And then since this device displays graphs, convert them into digital dataThe greatest piece of advice before you use any API or class: Read the documentation.
TcpClient Class (System.Net.Sockets)
Provides client connections for TCP network services.docs.microsoft.com
You'll also need the documentation of the device you are connecting to. Things to look for are: What port is it expecting the connection on? What data format/protocol will be use once you've established the connection? How to recover from a broken connection?
I have already connected the device to my pc via an ethernet cableThe greatest piece of advice before you use any API or class: Read the documentation.
TcpClient Class (System.Net.Sockets)
Provides client connections for TCP network services.docs.microsoft.com
You'll also need the documentation of the device you are connecting to. Things to look for are: What port is it expecting the connection on? What data format/protocol will be use once you've established the connection? How to recover from a broken connection?
Unless that device hosts its own network, you will actually want to connect the device to network switch or hub, and then also have your PC connected to the same switch or hub.I have already connected the device to my pc via an ethernet cable
Presumably you already know how to write WinForms code. This forum is not geared towards teaching you how to create WinForms applications.I would like to be able to create an interaction between the windows form I created and this device by TCP/Ip in such a way that I can receive the data from this device on the windows form
I already know how to create a Windows formPresumably you already know how to write WinForms code. This forum is not geared towards teaching you how to create WinForms applications.