sockets load

return and parameters still need to be tested