completed coneection between socket and drools