>I want to define a global macro which can be used in all files of live. >Where (in which header file/files) should I define it? I suggest "groupsock/include/NetCommon.h". That file is included by most of the others. Ross Finlayson Live Networks, Inc. (LIVE555.COM) <http://www.live555.com/>