i created a client server program in MFC using TCP and that worked fine. But i want the server to work on any computer so for the client to connect to the server i need to use broadcasting which can only be done in UDP. so i tried changing my code but i'm having a lot of problems. can someone please look at the code and tell me if i'm missing something (never used UDP before).
heres the code for server
when i run the program...