Peer.Connect Method |
Language: |
Visual Basic Public Sub Connect( _
ByVal applicationDescription As ApplicationDescription, _
ByVal hostAddress As Address, _
ByVal deviceInformation As Address, _
ByVal userConnectData As NetworkPacket, _
ByRef asyncHandle As Integer, _
ByVal flags As ConnectFlags, _
ByVal playerContext As Object, _
ByVal userContext As Object _
)C# public void Connect(
ApplicationDescription applicationDescription,
Address hostAddress,
Address deviceInformation,
NetworkPacket userConnectData,
out int asyncHandle,
ConnectFlags flags,
object playerContext,
object userContext
);C++ public:
void Connect(
ApplicationDescription applicationDescription,
Address^ hostAddress,
Address^ deviceInformation,
NetworkPacket^ userConnectData,
[Out] int% asyncHandle,
ConnectFlags flags,
Object^ playerContext,
Object^ userContext
);JScript public function Connect(
applicationDescription : ApplicationDescription,
hostAddress : Address,
deviceInformation : Address,
userConnectData : NetworkPacket,
asyncHandle : int,
flags : ConnectFlags,
playerContext : Object,
userContext : Object
);
applicationDescription Microsoft.DirectX.DirectPlay.ApplicationDescription
hostAddress Microsoft.DirectX.DirectPlay.Address
deviceInformation Microsoft.DirectX.DirectPlay.Address
userConnectData Microsoft.DirectX.DirectPlay.NetworkPacket
asyncHandle System.Int32
flags Microsoft.DirectX.DirectPlay.ConnectFlags
playerContext System.Object
userContext System.Object
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center