Documentation ¶
Index ¶
Constants ¶
const Buffer = 65_536
Buffer is the default size of buffers for stateless connections. This number affects how UDP/IP connections perform and how large their backlog will be before blocking. (Server side only).
const Frag = 33_554_432
Frag is the max size used to fragment packets into. Any packet over this byte size will be fragmented.
const Packets = 256
Packets determines how many Packets may be processed by the Session thread before waiting another wait cycle. If this is set to anything less than one, only a single Packet will be processed at a time.
Variables ¶
This section is empty.
Functions ¶
func Ignore ¶ added in v0.1.0
func Ignore()
Ignore is a simple helper method that can be used to ignore signals that can be used to abort or generate a stack-trace.
Used for anti-debugging measures.
func MemorySweep ¶ added in v0.0.6
func MemorySweep()
MemorySweep enables the GC memory sweeper, which keeps the process memory clean to prevent any crashes while in DLL format or injected. This function only needs to be called once and will return immediately.
Defaults to a time of one minute.
func MemorySweepEx ¶ added in v0.0.6
MemorySweepEx enables the GC memory sweeper, which keeps the process memory clean to prevent any crashes while in DLL format or injected. This function only needs to be called once and will return immediately.
Allows for specification of the timespace between sweeps.
Types ¶
This section is empty.