ip broadcasting

This is a discussion on ip broadcasting within the C++ Programming forums, part of the General Programming Boards category; Hi there, you will have to bear with me on this question cos Iím not exactly sure how phrase what ...

  1. #1
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359

    ip broadcasting

    Hi there, you will have to bear with me on this question cos Iím not exactly sure how phrase what I want to ask. I am writing a server program, and Iíve got it to reconise itís own ip address and create the appropriate listening socket. However, I have clients that need to connect to the server socket, and currently each client has to enter the servers ip address in order for them to connect. Would anyone be able to advise in a way the server could broadcast its ip address and allow all the clients to pick up its ip address without having to input it. Is this at all possible? Thanks, for any advice.

    Using borland compiler, winxp and tcp/ip protocol suite
    Be a leader and not a follower.

  2. #2
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Have the server upload its ip adress to a main server, and any clients wanting to connect can connect to the main server, search through the list, and select the one they want
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting 32 bit binary IP to decimal IP (vice-versa)
    By Mankthetank19 in forum C Programming
    Replies: 15
    Last Post: 12-28-2009, 07:17 PM
  2. Replies: 6
    Last Post: 06-08-2006, 05:11 PM
  3. Ip adresses
    By Da-Nuka in forum Networking/Device Communication
    Replies: 8
    Last Post: 02-27-2005, 02:25 PM
  4. resolving names and ip addresses
    By dicky in forum Networking/Device Communication
    Replies: 5
    Last Post: 07-01-2004, 04:32 PM

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