DV6
February 12th, 2008, 12:57 PM
Hi all,
Im currently working on a new version of my client application who´s sole purpose is to query massive ammounts of servers for there status. All data for this subject will be transfered over UDP.
Basicly it goes like this: I send the request and The server responses with 1 or more packets.
Now before i start designed the application i was hoping anyone of you could tell me if it is possible to use a specific ammount of sockets who listen for incoming data from any random source?
I know this is possible when creating a server application since then your can listen to a given port and the client always have to send there requests to that port. however when creating a client, my send sockets send the data through their own port and the servers send their responses back to that port. Is it possible to modify the send in that way that the senders port will be the one used by a receiver socket?
Thanks in advance!
Koen
Im currently working on a new version of my client application who´s sole purpose is to query massive ammounts of servers for there status. All data for this subject will be transfered over UDP.
Basicly it goes like this: I send the request and The server responses with 1 or more packets.
Now before i start designed the application i was hoping anyone of you could tell me if it is possible to use a specific ammount of sockets who listen for incoming data from any random source?
I know this is possible when creating a server application since then your can listen to a given port and the client always have to send there requests to that port. however when creating a client, my send sockets send the data through their own port and the servers send their responses back to that port. Is it possible to modify the send in that way that the senders port will be the one used by a receiver socket?
Thanks in advance!
Koen