Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi CodeProject,

Can you please give me a Hello World code for connecting an application over wifi between laptop & android.

The code says Hi from laptop and gets a reply hello from android or another laptop over wifi.
Can be as small as possible.

But surely needs basic concepts of connectioning and then sending hi text to hello reply.

Preferred programming would be C# and wifi library if used will be good.

Thanks,
prakash
Posted
Updated 16-May-13 21:23pm
v2

1 solution

Hello,

Have a look at this[^] sample.

Regards,
 
Share this answer
 
Comments
Member 10058787 17-May-13 23:02pm    
Thanks. But that was Lan networked solution, which i know already. I wanted same example for wifi. Just type it. If errors, not an issue. All i want to know is the basic steps of setup. Then the data.
Prasad Khandekar 19-May-13 6:30am    
It's one and the same. Wifi is just another LAN as like Wired LAN. From user's perspective it's generally transparent. You won't see a separate wifi specific api like say openWifiSocket. You will always say openSocket and OS will do the rest using the best possible available network interface. This link will provide you more insight (http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/wired-and-wireless-connections-on-the-same-windows/ee40d9a6-297b-46d4-b5c8-db57d927b62e).

Regards,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900