winsock multiple client wiht same ip and different port with a server
HIIIII
i am using winsock with as server and multiple client its working fine
Now in my project i want multiple client to be created so i have created multiple client with same ip but having different port no
Can winsock send data to such client possessing same IP but different port
i want to create multiple dummy client at same PC can it be done & can winsock send data to all those client carrying same ip
Or is there any alternative to do this
Re: winsock multiple client wiht same ip and different port with a server
One Winsock control sends data to same IP, same port number.
Multiple Winsock controls can send data to multiple ports but only one IP on same PC.
Re: winsock multiple client wiht same ip and different port with a server
Also note that all of those clients would be set to use the same port and that would be the port that the server is listening on once the server accepts the request the client is then assigned a socket to talk to the server on and the server keeps listening for more connection requests on the original port.