There any way to conect 2 cel (something like p2p)

There any way to conect 2 cel (something like p2p) don’t need to be on p2p but one cel be the server and other the client

Check out the docs here.

Be aware that networking is a very complicated topic for beginner programmers.