开发者

read data from a given IP address in a VC++(VS2010) program?

开发者 https://www.devze.com 2023-01-31 05:24 出处:网络
Hi all I am programming a biomedical patient monitoring device. I need to read data from it using IP address 192.168.185.146. Can 开发者_如何学运维someone please tell me how to read any data from any

Hi all I am programming a biomedical patient monitoring device. I need to read data from it using IP address 192.168.185.146. Can 开发者_如何学运维someone please tell me how to read any data from any IP address using VC++. I am using Visual Studio 2010. and I am using one simple win32 application. I know the packet structure and packet definition of the device data.. I am new to VC++ programming and I don't know how to read data from and write data to a IP port given only its address.


I suggest You reading about sockets programming in general (http://beej.us/guide/) and winsock/windows sockets (http://msdn.microsoft.com/en-us/library/ms740673%28v=VS.85%29.aspx)

There You will/can/may find everything You are saerching for... If You don´t know anything about it at the moment it would be kind of useless to You if we would just tell You names of functions etc...

0

精彩评论

暂无评论...
验证码 换一张
取 消