C# 클래스 Microsoft.AspNet.Server.Kestrel.Http.TcpListener

Implementation of Listener that uses TCP sockets as its transport.
상속: Listener
파일 보기 프로젝트 열기: Starcounter/KestrelHttpServer

공개 메소드들

메소드 설명
TcpListener ( ServiceContext serviceContext ) : Microsoft.AspNet.Server.Kestrel.Infrastructure

보호된 메소드들

메소드 설명
CreateListenSocket ( ) : UvStreamHandle

Creates the socket used to listen for incoming connections

OnConnection ( UvStreamHandle listenSocket, int status ) : void

Handle an incoming connection

메소드 상세

CreateListenSocket() 보호된 메소드

Creates the socket used to listen for incoming connections
protected CreateListenSocket ( ) : UvStreamHandle
리턴 Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle

OnConnection() 보호된 메소드

Handle an incoming connection
protected OnConnection ( UvStreamHandle listenSocket, int status ) : void
listenSocket Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle Socket being used to listen on
status int Connection status
리턴 void

TcpListener() 공개 메소드

public TcpListener ( ServiceContext serviceContext ) : Microsoft.AspNet.Server.Kestrel.Infrastructure
serviceContext ServiceContext
리턴 Microsoft.AspNet.Server.Kestrel.Infrastructure