Echoserver????
Methodz i have finished the simple winsock programme in which the the client software displays hello .Now i would like to make a Echoclient or a chat software in console mode of course (I would like to know the basic first then i would impliment it in the WI32 Api ).So I would like a bit of guidance from you .I cant understand where should i start.Do You guys have any online tutorial.What Is asynchrous sockets and is it necessary for creating echo server or chat programme.I downloaded a code from the net about a simple chat programme in that tutorial it is using a function like reqwinsockver 2_0.I have used inline function ,I have hardly used Macro's ,Even in Macros often they substitute the" ." by " _" can anybody tell me why.
Another thing is that what is a bool() function ???Can send function be used in the client software to send a string to the server software??
And why should we return -1 after each and every WSACleanUp() call??If it is to end the main function then shouldn't we return 0.Because at the end of each programme we type "return 0"
|