wifi network programming

This is a discussion on wifi network programming within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, I want to implement a c/c++ program that allows communication between two pcs through their wifi cards. The way ...

  1. #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.

  2. #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

  3. #3
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059
    Is this what you're looking for? Native WiFi

  4. #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.

  5. #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 12:54 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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