Create()

TcpListener::Create(int32_t) method

Creates a new instance using the specified port number.

static System::SharedPtr<TcpListener> System::Net::Sockets::TcpListener::Create(int32_t port)

Arguments

ParameterTypeDescription
portint32_tA port number that is used to create the TcpListener-class instance.

Return Value

A newly created TcpListener-class instance.

See Also