pptp

package
v0.0.0-...-7d1c9b4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package pptp contains an implementation of a PPTP VPN server that is specifically intended to allow IPX protocol games to be played from old Windows 9x machines. It is deliberately limited in scope and functionality, lacking many of the features commonly found in most PPTP implementations that are not necessary for its intended function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

func (*Connection) Close

func (c *Connection) Close() error

type Server

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

Server is an implementation of a PPTP server.

func NewServer

func NewServer(n network.Network) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Run

func (s *Server) Run(ctx context.Context)

Run listens for and accepts new connections to the server. It blocks until the server is shut down, so it should be invoked in a dedicated goroutine.

Jump to

Keyboard shortcuts

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