Using port for addressing in DirectPlay8

Started by
0 comments, last by stefu 22 years, 9 months ago
Hello, This is quite a begginner question. I have a workin peer-peer wrapper class for DP8. Before I used flags OKTOQUERYFORADDRESSING (EnumHosts() and Host()), but now I managed to set up address correctly myself using IDirectPlay8Address::AddComponent(). My question is just the meaning of ports. DP never asked any port values and now when I setup address myself, I don''t need to se ports. I can set the port value for DirectPlay8Address, but it''s not needed. Does DP use some default port or does it use all available ports?
Advertisement
It picks a port, I forget which one. There''s a negoiation port as well, if I remember correctly. If any DP game is running, DP can connect to that port to ask which specific port a game is running on (using that GUID you had to make).
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement