C# 클래스 SIPSorcery.Sys.Net.FreePort

파일 보기 프로젝트 열기: sipsorcery/sipsorcery

공개 메소드들

메소드 설명
FindNextAvailableTCPPort ( int startPort ) : int

Check if startPort is available, incrementing and checking again if it's in use until a free port is found

FindNextAvailableUDPPort ( int startPort ) : int

Check if startPort is available, incrementing and checking again if it's in use until a free port is found

메소드 상세

FindNextAvailableTCPPort() 공개 정적인 메소드

Check if startPort is available, incrementing and checking again if it's in use until a free port is found
public static FindNextAvailableTCPPort ( int startPort ) : int
startPort int The first port to check
리턴 int

FindNextAvailableUDPPort() 공개 정적인 메소드

Check if startPort is available, incrementing and checking again if it's in use until a free port is found
public static FindNextAvailableUDPPort ( int startPort ) : int
startPort int The first port to check
리턴 int