mdphub

package module
v0.0.0-...-5c0354c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 1989 License: GPL-3.0 Imports: 12 Imported by: 0

README

Multiplex Datagram Protocol Go Reference

Multiplexing below protocols to datagram:

  • TCP
  • UDP
  • ICMDP

Credit

poohvpn/icmdp

China Dictatorship 中国独裁统治

License

GNU GPLv3

Copyright 2021 PoohVPN

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BufferSize = 1500

Functions

This section is empty.

Types

type MdpHub

type MdpHub struct {
	// contains filtered or unexported fields
}

func New

func New(port int) (m *MdpHub, err error)

func (*MdpHub) Addr

func (m *MdpHub) Addr() net.Addr

func (*MdpHub) Close

func (m *MdpHub) Close() error

func (*MdpHub) SetForwardAddr

func (m *MdpHub) SetForwardAddr(nid uint32, addr string) error

func (*MdpHub) SetID

func (m *MdpHub) SetID(id uint32)

func (*MdpHub) SetObfuscator

func (m *MdpHub) SetObfuscator(ob obfu.Obfuscator)

func (*MdpHub) SetRemoteAddr

func (m *MdpHub) SetRemoteAddr(addr string) error

func (*MdpHub) SetTlsConfig

func (m *MdpHub) SetTlsConfig(config *tls.Config)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL