Socket functionality / global commands