C# 클래스 BF2Statistics.Gamespy.Net.GamespyUdpPacket

This class represents a packet recieved from and/or to be sent to a remote UDP connection. This class is essentially a wrapper for SocketAsyncEventArgs and Asynchronous reading and writing
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BytesRecieved byte[]

공개 메소드들

메소드 설명
GamespyUdpPacket ( SocketAsyncEventArgs e ) : System
SetBufferContents ( byte contents ) : int

Sets the contents of the SocketAsyncEventArgs buffer, so a reply can be sent to the remote host connection

메소드 상세

GamespyUdpPacket() 공개 메소드

public GamespyUdpPacket ( SocketAsyncEventArgs e ) : System
e System.Net.Sockets.SocketAsyncEventArgs
리턴 System

SetBufferContents() 공개 메소드

Sets the contents of the SocketAsyncEventArgs buffer, so a reply can be sent to the remote host connection
public SetBufferContents ( byte contents ) : int
contents byte The new contents to set the buffer to
리턴 int

프로퍼티 상세

BytesRecieved 공개적으로 프로퍼티

An array of the bytes received in this packet
public byte[] BytesRecieved
리턴 byte[]