Click here to Skip to main content
13,049,814 members (74,751 online)
Rate this:
Please Sign up or sign in to vote.
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.

Posted 16-May-13 21:21pm
Updated 16-May-13 21:23pm

1 solution

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

Solution 1


Have a look at this[^] sample.

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 (


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 17 May 2013
Copyright © CodeProject, 1999-2017
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