socket

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

@@ @ Author : Eacher @ Date : 2023-07-01 09:08:50 @ LastEditTime : 2023-07-07 09:25:50 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/socket.go @@

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawConnControl

type RawConnControl func(func(uintptr)) error

type Socket

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

func NewSocket

func NewSocket(domain, typ, proto int, name string) (*Socket, error)

func (*Socket) Close

func (s *Socket) Close() (err error)

func (*Socket) Control

func (s *Socket) Control() (RawConnControl, error)

func (*Socket) Recvfrom

func (s *Socket) Recvfrom(b []byte, flags int) (n int, from syscall.Sockaddr, err error)

func (*Socket) Recvmsg

func (s *Socket) Recvmsg(p, oob []byte, flags int) (n, oobn, recvflags int, from syscall.Sockaddr, err error)

func (*Socket) Sendmsg

func (s *Socket) Sendmsg(p, oob []byte, to syscall.Sockaddr, flags int) (n int, err error)

func (*Socket) Sendto

func (s *Socket) Sendto(b []byte, flags int, to syscall.Sockaddr) (err error)

func (*Socket) SetReadDeadline

func (s *Socket) SetReadDeadline(d time.Duration) error

Directories

Path Synopsis
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-07 14:41:31 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/arp/arp.go @@
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-07 14:41:31 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/arp/arp.go @@
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-07 10:57:23 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/dhcpv4/dhcpv4.go @@
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-07 10:57:23 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/dhcpv4/dhcpv4.go @@
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-08 16:12:33 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/rtnetlink/rtnetlink.go @@
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-08 16:12:33 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/rtnetlink/rtnetlink.go @@

Jump to

Keyboard shortcuts

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