Author | Message | Time |
---|---|---|
St0rm.iD | Is it possible to have two processes (say, oh, Brood War and a gamebot) to bind to the same UDP port? I don't think so, but is there another solution that would work? It also seems that even if I bind first, Brood War takes it over. ANy suggestions would be much appreciated. | May 26, 2003, 2:04 PM |
Skywing | [quote author=St0rm.iD link=board=5;threadid=1441;start=0#msg10749 date=1053957884] Is it possible to have two processes (say, oh, Brood War and a gamebot) to bind to the same UDP port? I don't think so, but is there another solution that would work? It also seems that even if I bind first, Brood War takes it over. ANy suggestions would be much appreciated. [/quote]Yes, you can with UDP. However, you need to set a special flag, so Brood War would need to bind the socket first. | May 26, 2003, 4:32 PM |
tA-Kane | [quote author=St0rm.iD link=board=5;threadid=1441;start=0#msg10749 date=1053957884]It also seems that even if I bind first, Brood War takes it over.[/quote]That's interesting. On my Mac, Brood War increments the UDP port (eg, use 6113). | May 27, 2003, 8:07 PM |
iago | It does that on mine, too, if port 6112 is in use it uses 6113. | May 27, 2003, 9:13 PM |
St0rm.iD | Yeah i figured that out. | May 28, 2003, 1:36 AM |