basic calling and receiving problem solved and sockets are also managed 
properly