How to make a program that sends data through the WiFi router
I got a WiFi router connected to my PC. What I want is to send from another device some data to my PC through the Wi-Fi adapter. Program on the device is developed using EVC++. The开发者_JAVA百科 one on PC - on VC++.
EDIT 1: PC has an IP address. Another device s IP is set at program execution. I mean WiFi IP address. And then connection to WiFi router is proceeded.
EDIT 2: What if it uses an ethernet and wifi together? How should I make a connection through WiFi?
WiFI is no different to usual Ethernel network. So you just usually find out IP of other computer (in config/ask user/DNS), establish usual TCP/IP connection and send data on.
精彩评论