21.05.2009, 22:51
as the others said, 3 to 4 seconds is not to do with the fact it's strtok, it's because your connection fails, either at connecting or running the server.
There's no point changing a whole script from strtok to dcmd.
There's no point changing a whole script from strtok to dcmd.