SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip.Sdp
Connection Class
Connection Constructor
Connection Properties
Connection Methods

# Connection Class

The Connection class provides information about connection used in a media session.
Inheritance Hierarchy
System
Object
Independentsoft.Sip.Sdp
Connection

Namespace: Independentsoft.Sip.Sdp
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public class Connection

    Public Class Connection

The Connection type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Connection | Initializes a new instance of the Connection class.
| Connection(String) | Initializes a new instance of the Connection class.
| Connection(String, Int32) | Initializes a new instance of the Connection class.
| Connection(String, Int32, Int32) | Initializes a new instance of the Connection class.
| Connection(AddressType, String, Int32, Int32) | Initializes a new instance of the Connection class.
| Connection(NetworkType, AddressType, String, Int32, Int32) | Initializes a new instance of the Connection class.

Top
Properties

| Name | Description
--- | --- | ---
| Address | Gets or sets connection address. Typically the connection address will be a class-D IP multicast group address. If the session is not multicast, then the connection address contains the fully-qualified domain name or the unicast IP address.
| AddressType | Gets or sets type of address.
| NetworkType | Gets or sets type of network.
| NumberOfAddresses | Gets or sets number of addresses.
| TimeToLive | Gets or sets time to live (TTL) value. Sessions using an IP multicast connection address must also have a TTL value present in addition to the multicast address. The TTL and the Address together define the scope with which multicast packets sent in this conference will be sent. TTL values must be in the range 0-255.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| Parse | Converts the specified string representation of a connection to its Connection equivalent.
| ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object ToString .)

Top
See Also

#### Reference

Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de