Binding
Overview
Represents a local socket binding.
All active socket connections are "bound" to a specific port on the client and server side. These bindings are particularly important for some protocols (such as FTP) to identify the local connection. Server processes bind themselves to a specific port in order to service incoming queries.
Location
-
Reference:
- RemObjects.InternetPack.dll .NET, .NET Core 5.0, .NET Standard 2.0
- RemObjects.InternetPack.fx Island
- libRemObjects.InternetPack.fx Toffee
- Namespace: RemObjects.InternetPack
constructor
constructor
Binding()
init()
Sub New()
constructor (AddressFamily)
constructor(addressFamily: AddressFamily)
Binding(AddressFamily addressFamily)
init(_ addressFamily: AddressFamily)
Sub New(addressFamily As AddressFamily)
Parameters:
- addressFamily:
Address virtual
The IP Address of the binding.
property Address: IPAddress read write;
IPAddress Address { get; set; }
var Address: IPAddress { get{} set{} }
Property Address() As IPAddress
AddressFamily virtual
AddressFamily denotes the type of address (and thus the means to communicate) of the binding. The default value for InternetPack "InterNetwork" is defined in System.Net.Sockets.AddressFamily
property AddressFamily: AddressFamily read write;
AddressFamily AddressFamily { get; set; }
var AddressFamily: AddressFamily { get{} set{} }
Property AddressFamily() As AddressFamily
DefaultPort virtual
property DefaultPort: Int32 read write;
Int32 DefaultPort { get; set; }
var DefaultPort: Int32 { get{} set{} }
Property DefaultPort() As Int32
Port virtual
Denotes the port number associated with the socket binding. On a server connection, this would be the obvious protocol numbers (e.g: HTTP=80, FTP=21), on the client this number is assigned by the operating system when creating the socket.
property Port: Int32 read write;
Int32 Port { get; set; }
var Port: Int32 { get{} set{} }
Property Port() As Int32
Protocol virtual
Denotes the transport level protocol to use to communicate over the socket. The default value "TCP" for Internet Pack is defined in System.Net.Sockets.ProtocolType
property Protocol: ProtocolType read write;
ProtocolType Protocol { get; set; }
var Protocol: ProtocolType { get{} set{} }
Property Protocol() As ProtocolType
ShouldSerializePort virtual
method ShouldSerializePort: Boolean
Boolean ShouldSerializePort()
func ShouldSerializePort() -> Boolean
Function ShouldSerializePort() As Boolean
SocketType virtual
Denotes the type of socket used to use to communicate. Defined in System.Net.Sockets.SocketType
property SocketType: SocketType read write;
SocketType SocketType { get; set; }
var SocketType: SocketType { get{} set{} }
Property SocketType() As SocketType
Address virtual
The IP Address of the binding.
property Address: IPAddress read write;
IPAddress Address { get; set; }
var Address: IPAddress { get{} set{} }
Property Address() As IPAddress
AddressFamily virtual
AddressFamily denotes the type of address (and thus the means to communicate) of the binding. The default value for InternetPack "InterNetwork" is defined in System.Net.Sockets.AddressFamily
property AddressFamily: AddressFamily read write;
AddressFamily AddressFamily { get; set; }
var AddressFamily: AddressFamily { get{} set{} }
Property AddressFamily() As AddressFamily
DefaultPort virtual
property DefaultPort: Int32 read write;
Int32 DefaultPort { get; set; }
var DefaultPort: Int32 { get{} set{} }
Property DefaultPort() As Int32
Port virtual
Denotes the port number associated with the socket binding. On a server connection, this would be the obvious protocol numbers (e.g: HTTP=80, FTP=21), on the client this number is assigned by the operating system when creating the socket.
property Port: Int32 read write;
Int32 Port { get; set; }
var Port: Int32 { get{} set{} }
Property Port() As Int32
Protocol virtual
Denotes the transport level protocol to use to communicate over the socket. The default value "TCP" for Internet Pack is defined in System.Net.Sockets.ProtocolType
property Protocol: ProtocolType read write;
ProtocolType Protocol { get; set; }
var Protocol: ProtocolType { get{} set{} }
Property Protocol() As ProtocolType
SocketType virtual
Denotes the type of socket used to use to communicate. Defined in System.Net.Sockets.SocketType
property SocketType: SocketType read write;
SocketType SocketType { get; set; }
var SocketType: SocketType { get{} set{} }
Property SocketType() As SocketType
constructor
constructor
Binding()
init()
Sub New()
constructor (AddressFamily)
constructor(addressFamily: AddressFamily)
Binding(AddressFamily addressFamily)
init(_ addressFamily: AddressFamily)
Sub New(addressFamily As AddressFamily)
Parameters:
- addressFamily:
ShouldSerializePort virtual
method ShouldSerializePort: Boolean
Boolean ShouldSerializePort()
func ShouldSerializePort() -> Boolean
Function ShouldSerializePort() As Boolean