Winsock error 10053 and 10054最近實做通訊時常遇這兩個 error code,簡單記錄這兩個 error code 發生時的可能情況Nov 17, 2020Nov 17, 2020
Porting Linux code on Windows最近的工作需要把一些只能跑在 Linux 上的 open source code 移植到 Windows, 例如 libmigdb.Sep 17, 2020Sep 17, 2020
Strategy Patternhttps://gist.github.com/hungweiyang/8c3745940a041a38d2f6b4a627004b2e#file-strategy_pattern-cppSep 10, 2020Sep 10, 2020
A bad example of a synchronization solution下面是公司同事寫的程式碼, 我將他的程式碼簡化後來說明這次解決的 thread 間同步問題.Sep 8, 2020Sep 8, 2020
Execute binary code in memoryI have found the following code from here. However I do not know what the binary code in mya[] means. Lets see if the objdump and gdb can…Jan 10, 2020Jan 10, 2020