First tests with sockets