|
-
Jan 2nd, 2007, 04:55 PM
#1
Thread Starter
Fanatic Member
[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
-
Jan 2nd, 2007, 05:17 PM
#2
Re: Multiple connections - WinSock
I think you will need multiple instances.
-
Jan 2nd, 2007, 05:27 PM
#3
Thread Starter
Fanatic Member
Re: Multiple connections - WinSock
-
Jan 2nd, 2007, 05:30 PM
#4
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.
-
Jan 3rd, 2007, 06:54 AM
#5
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|