Added defines for socket types