macros for socket signartures added