This method of the DirectPlay2 Class closes a previously opened session.
public void close();
All locally created players will be destroyed, and corresponding DPSYS_DESTROYPLAYERORGROUP system messages are sent to other session participants. However, groups will not be destroyed; use destroyGroup to destroy the group.
destroyPlayer, DPMSG_DESTROYPLAYERORGROUP, open