Jump to content

Wifi connectivity between C++ apps?

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Macoder

Macoder

    Learning Programmer

  • Members
  • PipPipPip
  • 39 posts
Hi, I'd like to write a program that can communicate with copies of itself running on multiple computers throughout the house. All the computers are on the same network, and I just want to send variables (or files with the variables) back and forth between the computers. The final goal is to get an app that autoconnects with every computer on the LAN and starts a group audio chat between them. (for gaming on different desktop computers throughout the house, I don't like having to type in a username and password and manually starting the chat on all online software)

Is there a library to do this? It need to be mac compatible.

Thanks!

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Wasn't AppleTalk invented for this? WiFi resolutes to simple networking programming (assuming infrastructure not ad hoc) and audio there must be a simple Apple library for this.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
Milyardo

Milyardo

    Learning Programmer

  • Members
  • PipPipPip
  • 54 posts
AppleTalk is an alternative for to IPv4+DHCP for automatic network addressing.

I think what he is looking for a library for automatic network service discovery, also known as Zeroconf. On Unix systems that Library is known as Avahi.

#4
untitled_1

untitled_1

    Learning Programmer

  • Members
  • PipPipPip
  • 89 posts
I think you can program it as though you are programming it for a wired LAN .... Lower layer protocols will handle the actual transmission, it doesn't make sense to have to program a different way for Wi-Fi...




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users