native and tcp sockets done