im studying Socket atm and got 2 questions to ask :-
1st : i know that there r 2 types of sockets Async which doesnt block the main thread from working and the other type is Sync which does .. so my question is why would i use smthing that block the main thread while i can use the same one without blocking ? in other way when should i use Sync Socket
2nd : when i make Server / Client should i code them both in the same Projects Or i can do each of them in Separate ones ?
thx in Advance
Regards
Shadowman123
1st : i know that there r 2 types of sockets Async which doesnt block the main thread from working and the other type is Sync which does .. so my question is why would i use smthing that block the main thread while i can use the same one without blocking ? in other way when should i use Sync Socket
2nd : when i make Server / Client should i code them both in the same Projects Or i can do each of them in Separate ones ?
thx in Advance
Regards
Shadowman123