Click here to Skip to main content
15,905,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hai friends,

i am doing one task to send video frame that captured through webcam in to the PC, that image is transfered to clients from remotely located server using GBit ethernet. that all coding should be done using UDP sockets in MFC application. i am building one server application i strucked in middle i am in confusion how to access multiple clients.
i used all system calls by inheriting from CAsyncsocket.
those are
1)socket()
2)bind()
3)receive from()
4)sendto()
5)close()

can any one plz help me with sample code to acess multiple clients.

plz it's urjent.

thanks,
sravani
Posted

1 solution

Sravani, pls follow the below link, this may help u really.

Single Server With Multiple Clients : a Simple C++ Implementation[^]

Once u learn about how to get connected wd multiple client, I believe, after that you can do the rest of your frame transmission.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900