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

    Problem with winsock, plz help

    Hello!

    I have problem sending a message to multiple ip addrsses with winsock control.
    I have no problems to send text to one ip, but if i write a loop which sends this text to multiple computers, then it doesn't work.

    bumbuls




  2. #2
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    Re: Problem with winsock, plz help

    Are you using more then 1 winsock control? or are you disconencting and re-connecting to each computer?. If you are using 1 control make sure that you wait for the conenction to close before re-connecting to another machine or else you will get a invalid-state message.

    Jean-Guy


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