socket

package
v0.0.0-...-2753795 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SocketInvalid           = -1
	SocketUnconnected       = 0
	SocketWaitingForConnect = 1
	SocketConnected         = 2
	SocketOtherEndClosed    = 3
	SocketThisEndClosed     = 4
)

Connection status constants (matching Squeak's Socket class).

View Source
const (
	ResolverUninitialized = 0
	ResolverReady         = 1
	ResolverBusy          = 2
	ResolverError         = 3
)

Resolver status constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketPlugin

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

SocketPlugin provides Squeak socket and DNS resolver primitives.

func (*SocketPlugin) Name

func (p *SocketPlugin) Name() string

func (*SocketPlugin) Primitives

func (p *SocketPlugin) Primitives() map[string]vm.PrimitiveFunc

Jump to

Keyboard shortcuts

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