The news of Cornelius’ conversion and baptism would have spread as Christian believers go from place to place visiting their friends and family. Possibly the men who accompanied Peter returned to Joppa before he did, in which case they told the believers in Joppa.
1 Now the apostles and the brothers who were throughout Judea heard that the Gentiles also had received the word of God.