I realize that when I used the direct connection :
// green sprite - host game
if ( hit = 11 )
NetworkID = HostNetwork ( "AGK Test Game", "Player 1", 1041 )
iType = 0
State = 1
endif
// red sprite - join game
if ( hit = 12 )
randomplayername$="player"+str(random(1,10000))
//NetworkID = JoinNetwork ( "AGK Test Game 2", randomplayername$ )
NetworkID = JoinNetwork ( "192.168.1.4", 1041,randomplayername$ )
iType = 1
State = 1
endif
it works Ok (I also need to change the port because it is in use in my PC). The problem must be something is blocking the AppGameKit broadcasting.
I'am a little confused because I have turned off the firewalls and the antivirus. Searching the forum it looks that AppGameKit broadcasting uses port 45631; But if i turn off the firewalls, are not all the ports open?
will need to investigate a little more on this.
TransDiv