Click here to Skip to main content
11,493,391 members (62,876 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Wifi connection
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 16-May-13 22:21pm
Edited 16-May-13 22:23pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hello,

Have a look at this[^] sample.

Regards,
  Permalink  
Comments
Member 10058787 at 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 at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 408
1 F-ES Sitecore 244
2 Maciej Los 241
3 CPallini 233
4 Nakul Chaudhari 225
0 Sergey Alexandrovich Kryukov 10,237
1 OriginalGriff 8,730
2 Sascha Lefèvre 3,664
3 Maciej Los 3,392
4 Richard Deeming 2,500


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 17 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100