PRoblem: client needs to scan ports

Implemtened a scanning