A single transfer of data within a p2p session.
For a list of all members of this type, see P2PTransferSession Members.
System.Object
XihSolutions.DotMSN.DataTransfer.P2PTransferSession
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
P2PTransferSession handles all messages with a specified session id in the p2p header. Optional a direct connection can be created. It will try to connect to the remote client or listening for incoming connections. If that succeeds and the local client is the sender of the data a seperate thread will be started to send data messages over the direct connection. However, if the direct connection fails it will send the data messages over the switchboard session. These latter messages go via the messenger servers and is therefore quite slow compared to direct connections but it is guaranteed to work even when both machines are behind a proxy, firewall or router.
Namespace: XihSolutions.DotMSN.DataTransfer
Assembly: XihSolutions.DotMSN (in XihSolutions.DotMSN.dll)
P2PTransferSession Members | XihSolutions.DotMSN.DataTransfer Namespace