CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2004
    Posts
    39

    Red face Network Broadcast

    Can anyone tell me how to braodcast a request to other Computer in a same network? A request such as requesting the Computer Name... I just need a simple code... thanks...

  2. #2
    Join Date
    Jan 2002
    Posts
    33

    Re: Network Broadcast

    You may create a client program that uses UDP and send it to the subnetwork's broadcast address.

  3. #3
    Join Date
    Feb 2003
    Location
    Bangalore, India
    Posts
    1,354

    Re: Network Broadcast

    You may want to look up the SO_BROADCAST socket option (setsockopt()).
    Even if our suggestions didn't help, please post the answer once you find it. We took the effort to help you, please return it to others.

    * While posting code sections please use CODE tags
    * Please check the codeguru FAQ and do a little search to see if your question have been answered before.
    * Like a post, Rate The Post
    * I blog: Network programming, Bible

    I do all things thru CHRIST who strengthens me

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