Komponenty WebRTC i P2P dla Delphi

Peer-to-peer communication with STUN, TURN, ICE protocols, data channels, and NAT traversal for direct client connections.

Enterprise Edition Only

P2P & WebRTC Components

Build peer-to-peer applications with full NAT traversal and real-time communication support.

UDP Client

UDP Client component for connectionless datagram communication. Ideal for low-latency real-time applications.

Dowiedz się więcej →

UDP Server

UDP Server component for handling multiple datagram endpoints simultaneously.

Dowiedz się więcej →

STUN Client

Session Traversal Utilities for NAT. Discover public IP addresses and port mappings behind NAT devices.

Dowiedz się więcej →

STUN Server

STUN server implementation for NAT traversal assistance in peer-to-peer connections.

Dowiedz się więcej →

TURN Client

Traversal Using Relays around NAT. Relay media when direct peer-to-peer connections fail.

Dowiedz się więcej →

TURN Server

TURN relay server for media relay when direct P2P connections cannot be established.

Dowiedz się więcej →

ICE Client

Interactive Connectivity Establishment. Automatically finds the best path between peers using STUN/TURN.

Dowiedz się więcej →

RTCPeerConnection

WebRTC peer connection implementation for real-time audio, video, and data communication between browsers and applications.

Dowiedz się więcej →

UDP

Komponenty klienta i serwera UDP dla Delphi i C++Builder. Datagramy unicast, broadcast i multicast w Windows, Linux, macOS, iOS i Android.

Dowiedz się więcej →

STUN

Jak STUN odkrywa publiczny adres i typ NAT oraz jak wykorzystać komponenty klienta i serwera STUN w Delphi, aby połączenia peer-to-peer działały.

Dowiedz się więcej →

TURN

Gdy bezpośrednie połączenie peer-to-peer zawodzi, TURN przekazuje ruch. Jak komponenty klienta i serwera TURN w Delphi wpisują się we wdrożenie ICE i WebRTC.

Dowiedz się więcej →

ICE

Jak ICE zbiera kandydatów i wybiera działającą ścieżkę między peerami oraz jak sterować tym procesem z Delphi i C++Builder za pomocą komponentu klienta ICE.

Dowiedz się więcej →

Delphi STUN Client Example

Discover your public IP address and port mapping behind NAT.

uses
  sgcP2P, sgcP2P_STUN_Classes, sgcSocket_Classes;

procedure TForm1.DiscoverPublicIP;
begin
  sgcSTUNClient1.Host := 'stun.l.google.com';
  sgcSTUNClient1.Port := 19302;
  sgcSTUNClient1.SendRequest;
end;

procedure TForm1.sgcSTUNClient1STUNResponseSuccess(Sender: TObject;
  const aSocket: TsgcSocketConnection;
  const aMessage: TsgcSTUN_Message;
  const aBinding: TsgcSTUN_ResponseBinding);
begin
  Memo1.Lines.Add('Public IP: ' + aBinding.RemoteIP);
  Memo1.Lines.Add('Public Port: ' + IntToStr(aBinding.RemotePort));
end;
Najkorzystniejsza oferta: All-AccessWszystkie produkty eSeGeCe, ze wsparciem Premium w cenie, już od €1,059 rocznie.
Zobacz cennik All-Access

Start Building P2P Applications

Download the free trial and explore peer-to-peer communication components.