all socket methods are defined equally #450