Click here to Skip to main content
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 Maciej Los 295
1 OriginalGriff 249
2 Sergey Alexandrovich Kryukov 205
3 Aajmot Sk 197
4 Sinisa Hajnal 176
0 OriginalGriff 7,800
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 17 May 2013
Copyright © CodeProject, 1999-2014
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