Results 1 to 5 of 5

Thread: [RESOLVED] Multiple connections - WinSock

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Resolved [RESOLVED] Multiple connections - WinSock

    Hi guys i have winsock installed on a program just before i spend hours of time googleing is it possible to make connect to and send a message to more than one server at once with winsock or do i need to place a new instance of it on the form. its a udp connection if that is relevent thanks

  2. #2

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Re: Multiple connections - WinSock

    K thanks

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Multiple connections - WinSock

    You're sending data from the client to multiple servers?

    Or do you mean the other way around?

    You should be able to do it with one instance by doing a loop. The data won't get sent simultaneously, but one right after the other. For something even close to simultaneous you would have to use multi threading/send data from another process.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Re: Multiple connections - WinSock

    Thanks did it with a loop thanks prompt repsonses

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