![]() ![]() ![]() By helping you write a quality paper, essay writing services take the research and writer's block out of writing essays so you can focus on. Buy custom college essays online at an affordable price. Student's home of best custom written essays, term papers, and research papers. Let's look at the second function that calls WSASend. ![]() Maybe it is some type of mutex or member of the network structure or class that has to be set before another packet can be sent. The line that has " mov, eax" before the call to WSAAsyncSelect is interesting as well. Seeing as how the parameter for the buffer count on WSASend is always 1, the game could also be using WSAAsyncSelect to let the game know the packet has been sent successfully to let the next packet be sent as well as maintain the order of the packets. I'm going to take an educated guess that there is probably more than one open connection when the game is running, maybe two since there are two functions that call WSASend. There is a call to WSAAsyncSelect below the call to WSASend. If WSASend returns 0, meaning the packet was sent correctly, the game will jump and execute the code below. If WSASend fails with a return value of -1 or 0xFFFFFFFF in hexadecimal, it will continue execution to WSAGetLastError and return from this function with a value of 0, meaning that the function returned false which will probably result in the game closing due to a packet error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |