DotMSN |

# P2PMessageSession.CreateDirectConnection Method

Creates a direct connection with the remote client.

[Visual Basic]
Public Function CreateDirectConnection( _
ByVal host As String, _
ByVal port As Integer _
) As IMessageProcessor
[C#]
public IMessageProcessor CreateDirectConnection(
string host,
int port
);

#### Parameters

host
port

#### Return Value

#### See Also

P2PMessageSession Class | XihSolutions.DotMSN.DataTransfer Namespace