Thanks! That's more than what I requested :-)

The only small difference btw. the two versions (apart from that your's is a lot clearer, more logical, and thanks to the use of local variables, parses faster), that mine can handle multiple connections at a time (there must be at least 10-15 seconds btw the estabilishment of these connections, though - because of the way it adds-deletes hash table items), which was crucial for my purpose smile