
ĭirectPlay sits on layer 4 and 5 of the OSI model. Under the hood, DirectPlay is built on the User Datagram Protocol (UDP) to allow it speedy communication with other DirectPlay applications. Since DirectX version 9, this issue can be alleviated at the expense of efficiency. By default, DirectPlay uses multi-threaded programming techniques and requires careful thought to avoid the usual threading issues. Like the rest of DirectX, DirectPlay runs in COM and is accessed through component object model (COM) interfaces. It also resolves many connectivity issues, such as Network Address Translation (NAT). It provides a way for applications to communicate with each other, regardless of the underlying online service or protocol. It features a set of tools that allow players to find game sessions and sites to manage the flow of information between hosts and players. It is a network communication library intended for computer game development, although it can be used for other purposes.ĭirectPlay is a high-level software interface between applications and communication services that allows games to be connected over the Internet, a modem link, or a network. ( October 2021)ĭirectPlay is part of Microsoft's DirectX API. Please help update this article to reflect recent events or newly available information.
