IPConn
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net
- Platforms: .NET, .NET Standard 2.0, Island
Instance Methods
constructor
// .NET, .NET Standard 2.0
constructor(aSock: Socket)
// Island
constructor(aSock: Socket)
// .NET, .NET Standard 2.0
IPConn(Socket aSock)
// Island
IPConn(Socket aSock)
// .NET, .NET Standard 2.0
init(_ aSock: Socket)
// Island
init(_ aSock: Socket)
// .NET, .NET Standard 2.0
Sub New(aSock As Socket)
// Island
Sub New(aSock As Socket)
Parameters:
- aSock:
Close
method Close: error
error Close()
func Close() -> error
func Close() error
Function Close() As error
CloseRead
method CloseRead: error
error CloseRead()
func CloseRead() -> error
func CloseRead() error
Function CloseRead() As error
CloseWrite
method CloseWrite: error
error CloseWrite()
func CloseWrite() -> error
func CloseWrite() error
Function CloseWrite() As error
File
// .NET, .NET Standard 2.0
method File: tuple of (Memory<File>, error)
// Island
method File: tuple of (Memory<File>, error)
// .NET, .NET Standard 2.0
func File() -> (Memory<File>, error)
// Island
func File() -> (Memory<File>, error)
LocalAddr
method LocalAddr: Addr
Addr LocalAddr()
func LocalAddr() -> Addr
func LocalAddr() Addr
Function LocalAddr() As Addr
Read
Parameters:
- b:
ReadFrom
Parameters:
- b:
ReadFromIP
// .NET, .NET Standard 2.0
method ReadFromIP(b: Slice<Byte>): tuple of (Int64, Memory<IPAddr>, error)
// Island
method ReadFromIP(b: Slice<Byte>): tuple of (Int64, Memory<IPAddr>, error)
// .NET, .NET Standard 2.0
(Int64, Memory<IPAddr>, error) ReadFromIP(Slice<Byte> b)
// Island
(Int64, Memory<IPAddr>, error) ReadFromIP(Slice<Byte> b)
// .NET, .NET Standard 2.0
func ReadFromIP(_ b: Slice<Byte>) -> (Int64, Memory<IPAddr>, error)
// Island
func ReadFromIP(_ b: Slice<Byte>) -> (Int64, Memory<IPAddr>, error)
Parameters:
- b:
ReadFromUDP
// .NET, .NET Standard 2.0
method ReadFromUDP(b: Slice<Byte>): tuple of (Int64, Memory<UDPAddr>, error)
// Island
method ReadFromUDP(b: Slice<Byte>): tuple of (Int64, Memory<UDPAddr>, error)
// .NET, .NET Standard 2.0
(Int64, Memory<UDPAddr>, error) ReadFromUDP(Slice<Byte> b)
// Island
(Int64, Memory<UDPAddr>, error) ReadFromUDP(Slice<Byte> b)
// .NET, .NET Standard 2.0
func ReadFromUDP(_ b: Slice<Byte>) -> (Int64, Memory<UDPAddr>, error)
// Island
func ReadFromUDP(_ b: Slice<Byte>) -> (Int64, Memory<UDPAddr>, error)
Parameters:
- b:
RemoteAddr
method RemoteAddr: Addr
Addr RemoteAddr()
func RemoteAddr() -> Addr
func RemoteAddr() Addr
Function RemoteAddr() As Addr
SetDeadline
Parameters:
- tt:
SetKeepAlive
Parameters:
- b:
SetKeepAlivePeriod
Parameters:
- d:
SetLinger
Parameters:
- b:
SetNoDelay
Parameters:
- b:
SetReadBuffer
Parameters:
- bytes:
SetReadDeadline
Parameters:
- tt:
SetWriteBuffer
Parameters:
- bytes:
SetWriteDeadline
Parameters:
- t:
SyscallConn
Write
Parameters:
- b:
WriteTo
Parameters:
- b:
- addr: