C# 클래스 SIPSorcery.Sys.UDPPacket

0 7 8 15 16 23 24 31 +--------+--------+--------+--------+ | Source | Destination | | Port | Port | +--------+--------+--------+--------+ | | | | Length | Checksum | +--------+--------+--------+--------+ | | data octets ... +---------------- ...
파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DestinationPort int
Payload byte[]
SourcePort int

공개 메소드들

메소드 설명
GetBytes ( ) : byte[]
UDPPacket ( int sourcePort, int destinationPort, byte payload ) : NUnit.Framework

메소드 상세

GetBytes() 공개 메소드

public GetBytes ( ) : byte[]
리턴 byte[]

UDPPacket() 공개 메소드

public UDPPacket ( int sourcePort, int destinationPort, byte payload ) : NUnit.Framework
sourcePort int
destinationPort int
payload byte
리턴 NUnit.Framework

프로퍼티 상세

DestinationPort 공개적으로 프로퍼티

public int DestinationPort
리턴 int

Payload 공개적으로 프로퍼티

public byte[] Payload
리턴 byte[]

SourcePort 공개적으로 프로퍼티

public int SourcePort
리턴 int