better form of sizeof expressions
do not hardcode socket domain and type but use the ones already provided