hello,
 
i just found out what was wrong. it was an empty, uninitialised string
that indeed made my client connect only to localhost....
now everything is fine!
 
thanks