Add receiver as parameter to sender for allowing non tcp communication
Make simulator working fine