This is a method of the IDirectPlay2 Interface.
public void getPlayerAddress(int playerId, byte[] addressData, int[] addressSize);