UPDATE: SOLVED!
I forgot that I had activated an os firewall on one of my machines (a mac running Yosemite 10.10.5) a few months ago for something I was trying out... but I forgot to turn it off again (blush). Doing so killed the ability for that machine to receive any packets sent by AGKs networking commands UNLESS they are bound to an IP and port. Just letting everyone know in case anyone else runs into this. Take care!
Hello all,
I was wondering if anyone has had any recent issues with being unable to use JoinNetwork() when using the local area broadcast version (integer JoinNetwork( szNetworkName, szMyName )). I cannot get it to work on my lan, but it does work when I bind a client to my server's ip and port using the integer JoinNetwork( szIP, port, szMyName ) version. For example:
My server has the following:
myNet = HostNetwork("Cool Network", "Cool Hoster", 9255)
Then when my client has the following:
myServer = JoinNetwork("Cool Network", "Cool Joiner") // Does not work on my lan anymore... will not join the network and times out (I even looped for over 10 seconds)
myServer = JoinNetwork("10.0.1.3", 9255, "Cool Joiner") // Works just fine on my lan with almost no delay
Using the integer JoinNetwork( szNetworkName, szMyName ) version was working just fine about 6 months ago. I have since updated my AGK2 several times (every update pretty much)... but have not messed with networking until the last 24 hours. So a lot could have changed. I thought maybe it had something to do with a network change on my end... but I know for a fact that I using my client/server on the same subnet... so broadcast packets should be fine.
Am I the only one with this issue? If not, what did you do to solve it?
Thanks!