Blitzplay help

Blitz3D Forums/Blitz3D Programming/Blitzplay help

Don't suppose you know how to use the BP_AckInUse function do you? I can't get it to work. My theory is to put the send message in a loop until the Ack reports false (i.e sent), but I'm doing something wrong. Could you tell me which part of this is wrong?

Repeat
AckID=BP_Message(p\net_ID,BP_Host_ID,2,packet$,BP_Ordered)
ID=BP_FindPlayersConn(p\net_ID)
Until BP_AckInUse(ID,AckID)=False