今天我在我的Mac os x 10.6上安装了valgrind并尝试测试它.事实证明,系统中存在奇怪的内存泄漏.我所做的只是创建简单的c文件,获取一些堆内存并立即释放它.当我跑valgrind时,它表现出类似的东西
Realfrees-MacBook-Pro:C Realfree$ valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./a.out
==2621== Memcheck, a memory error detector
==2621== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2621== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==2621== Command: ./a.out
==2621==
--2621-- ./a.out:
--2621-- dSYM directory is missing; consider using --dsymutil=yes
==2621==
==2621== HEAP SUMMARY:
==2621== in use at exit: 88 bytes in 1 blocks
==2621== total heap usage: 2 allocs, 1 frees, 92 bytes allocated
==2621== …Run Code Online (Sandbox Code Playgroud) 我正在为IRC客户端编写python代码.
我想了解IRC客户端和服务器如何相互通信.
谁能给我很好的教程或IRC通信架构来深入理解它?
谢谢