CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Posts
    1

    Communicating within a subnet.

    I have an application that intends to communicate with other instances of the application running in the subnet. I do not want a dedicated server application to act as a middleman. What is the best approach for this?
    I think multicast and broadcast are a few candidates, but I do not know how to go about it. I am stuck at the point that how Do I determine the multicast address to send to. What if the target netwrok does not have any IP address in the multicast adress range (224.0.0.1).

  2. #2
    Join Date
    May 2010
    Posts
    6

    Re: Communicating within a subnet.

    Hi,
    Unless there is a restriction on your network and IPs, you can use a private network to get this setup you need.

    Usually, 10.1.4.x is the valid range of IPs. You can connect through a hub without needing to go through a server first. However, this network will not be accessible from outside, hence the private network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured