2020年9月16日

winsock server 示例代码中 shutdown 的选项

摘要: When the server is done sending data to the client, the shutdown function can be called specifying SD_SEND to shutdown the sending side of the socket. 阅读全文

posted @ 2020-09-16 18:03 liujx2019 阅读(197) 评论(0) 推荐(0)

winsock 的 SO_REUSEADDR 选项

摘要: by Nikolai Fetissov First, make sure you set SO_REUSEADDR option on the server socket to be able to re-start listening. Then, I'm guessing, your probl 阅读全文

posted @ 2020-09-16 18:01 liujx2019 阅读(349) 评论(0) 推荐(0)

Windows 按键

摘要: SendKeys in C++ https://www.codeproject.com/articles/6819/sendkeys-in-c Elias Bachaalany Rate this: 4.87 (127 votes) 4.87 (127 votes) 14 Jun 2004 A C+ 阅读全文

posted @ 2020-09-16 13:48 liujx2019 阅读(200) 评论(0) 推荐(0)

[Windows]模拟按键

摘要: Find the handle to the button that you want to click (by using FindWindowEx), and just send click message: SendMessage(hButton, WM_LBUTTONDOWN, MK_LBU 阅读全文

posted @ 2020-09-16 13:31 liujx2019 阅读(395) 评论(0) 推荐(0)

导航