TcpListener.Create(Int32) Yöntem

Tanım

Belirtilen bağlantı noktasında dinlemek için yeni TcpListener bir örnek oluşturur.

public:
 static System::Net::Sockets::TcpListener ^ Create(int port);
public static System.Net.Sockets.TcpListener Create (int port);
static member Create : int -> System.Net.Sockets.TcpListener
Public Shared Function Create (port As Integer) As TcpListener

Parametreler

port
Int32

Gelen bağlantı girişimlerini dinleyebileceğiniz bağlantı noktası.

Döndürülenler

Belirtilen bağlantı noktasında dinleyecek yeni TcpListener bir örnek.

Şunlara uygulanır