DotMSN |

# P2PHandler.CreateSessionFromLocal Method

Creates a p2p session. The session is at the moment of return pure fictive; no actual messages have been sent to the remote client. The session will use the P2PHandler's messageprocessor as it's default messageprocessor.

[Visual Basic]
Overridable Protected Function CreateSessionFromLocal( _
ByVal localContact As String, _
ByVal remoteContact As String _
) As P2PMessageSession
[C#]
protected virtual P2PMessageSession CreateSessionFromLocal(
string localContact,
string remoteContact
);

#### Parameters

localContact
remoteContact

#### Return Value

#### See Also

P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace