Directplay Lobbies
I have 2 lobbies set up on one server, same IP, same port. One for Demo versions and one for Retail versions.
However when do my connection it randomly connects to one or the other even tho I have stated in code which one to connect to.
It''s done in VB:
With eSData
.SetSessionName lobby
.SetGuidApplication App_Guid
End With
With dplc
.SetAddress DPA
.SetFlags DPLCONNECTION_JOINSESSION
.SetSessionDesc eSData
.SetGuidSP "DPSPGUID_TCPIP"
.SetPlayerShortName myUserName
.SetPlayerLongName myLongName
End With
DPL.SetConnectionSettings 0, dplc
Set DP = DPL.Connect(DPCONNECTION_DEFAULT)
esData is DP.CreateSessionData()
dplc is DPL.CreateConnectionData()
dp is Directplay
dpl is Directplay lobby
Any ideas?
Thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement