C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 03-20-2006, 04:40 PM   #1
Registered User
 
Join Date: Apr 2005
Posts: 28
wifi network programming

Hi,

I want to implement a c/c++ program that allows communication between two pcs through their wifi cards. The way I am thinking of is having the same program running on the two pcs (or have some kind of client-server architecture).

- The data are simply text.
- Preferably C but C++ can also do. I am using gcc/g++ compiler.
- I would like communication between
a) linux - linux
b) linux - windows (xp, 98)
c) windows - windows (xp, 98)

Now, by my questions you probably have figured out I have no clue about network programming... Some startup tips/links would ne mostly appreciated... An important thing is comm between linux-linux, linux-win.

Cheers.
odysseus.lost is offline   Reply With Quote
Old 03-20-2006, 05:48 PM   #2
Registered User
 
Join Date: Oct 2001
Posts: 224
i dont know about the wifi part but here is about the socket programming

http://beej.us/guide/bgnet/output/html/index.html
c++.prog.newbie is offline   Reply With Quote
Old 03-20-2006, 07:02 PM   #3
Registered User
 
Join Date: Mar 2005
Location: Mountaintop, Pa
Posts: 1,059
Is this what you're looking for? Native WiFi
BobS0327 is offline   Reply With Quote
Old 03-21-2006, 04:11 PM   #4
* Death to Visual Basic *
 
Devil Panther's Avatar
 
Join Date: Aug 2001
Posts: 768
Quote:
Originally Posted by c++.prog.newbie
i dont know about the wifi part but here is about the socket programming

http://beej.us/guide/bgnet/output/html/index.html
I agree, as far as your program sees it, there is no WiFi connection between the machines, it's all at the hardware level of the NIC.
All you need to do is learn socket programming from the link above and you're set to go! GoodLuck!
__________________
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

http://www.Bloodware.net - Developing free software for the community.
Devil Panther is offline   Reply With Quote
Old 03-24-2006, 01:50 PM   #5
Registered User
 
Join Date: Apr 2005
Posts: 28
Thanks a lot guys.... Your links and the tip that it is basically socket programming is a very very big relief.... Bob also thanks for your link to the windows wlan api. It can be probably helpful on the win-win communication.

Last edited by odysseus.lost; 03-24-2006 at 01:54 PM.
odysseus.lost is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Network Analysis Tool durban Projects and Job Recruitment 1 11-08-2005 06:33 PM
Need help with easy Network setup the dead tree Tech Board 9 04-08-2005 07:44 PM
Mapping network drives Morgan Windows Programming 4 07-19-2004 04:07 AM
network problems lucy Tech Board 6 01-01-2003 03:33 PM
WinXP Network Connections pop-up DavidP Tech Board 1 10-02-2002 05:36 PM


All times are GMT -6. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22