Adapt wait-tcp for mac
Merge pull request #6 from celinelouvet/mac

Adapt wait-tcp for mac