Delphi STUN/TURN Server and Client (4/4)

From sgcWebSockets 4.5.2, you can build your own STUN/TURN Server and Clients using sgcWebSockets library. STUN Session Traversal Utilities for NAT (STUN) (acronym within an acronym) is a protocol to discover your public address and determine any restrictions in your router that would prevent a direct connection with a peer. The client will send a ...

Continue reading

Delphi TURN Server Component (3/4)

From sgcWebSockets 4.5.2, TURN protocol is supported on Server components. TsgcTURNServer is the server that implements the TURN Protocol and allows to process requests from TURN clients. The component inherits from TsgcSTUNServer, so all methods and properties are available on TsgcTURNServer. TURN Server supports Long-Term Authentication, All...

Continue reading

Delphi TURN Client Component (2/4)

From sgcWebSockets 4.5.2, TURN protocol is supported on Client Components.  TsgcTURNClient is the client that implements the TURN Protocol and allows to send allocation requests to TURN servers. The client inherits from STUN Client, so all methods supported by the STUN Client are already supported by TURN Client. Basic Usage  Us...

Continue reading

Delphi TURN Protocol (1/4)

From sgcWebSockets 4.5.2 version, TURN protocol is supported on Server and Client components. STUN Protocol was already supported on previous versions. Traversal Using Relays around NAT (TURN) protocol enables a server to relay data packets between devices. If the public IP address of both the caller and callee is not discovered, TURN provides a fa...

Continue reading

sgcWebSockets 4.5.1

Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.5.1: [+] : New Component TsgcLib_RCON, is a TCP/IP-based communication protocol which allows console commands to be issued to the server. [+] : New Demo which shows how to use the RCON Client, is located in the folder "50.Other\02.RCON". [+] : New Component Tsg...

Continue reading

Delphi CryptoHopper Client

From sgcWebSockets 4.5.1 CryptoHopper API is partially supported. CryptoHopper it's an automated crypto trading bot that allows to automate trading and portfolio management for Bitcoin, Ethereum, Litecoin and more. Configuration  Requires a Developer Account and once you have been approved you can start to create a new App. The API uses O...

Continue reading

Delphi RCON Client

From sgcWebSockets 4.5.1 RCON protocol is supported. The Source RCON Protocol is a TCP/IP-based communication protocol used by Source Dedicated Server, which allows console commands to be issued to the server via a "remote console", or RCON. The most common use of RCON is to allow server owners to control their game servers without direct acce...

Continue reading

SChannel Cipher List and Connection Info

From sgcWebSockets 4.5.1 SChannel has been improved with 2 new features: 1. There is a new property in TLSOptions.SChannel_Options called CipherList where you can set which Ciphers will be used. 2. There is a new function called GetInfo which returns the info like Protocol used (TLS1.2, TLS1.1...), the cipher, cipher strength... and more Cipher Lis...

Continue reading

sgcWebSockets 4.5.0

 Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.5.0: [+] : New Component TsgcSTUNServer, implements the STUN Server Protocol providing a service to discover the mapped IP Address and port number. [+] : New Component TsgcSTUNClient, implements the STUN Client Protocol. [+] : New Demo which shows how use...

Continue reading

Telegram Get Members

Telegram API allows to get information about members of a SuperGroup. Use the method GetSuperGroupMembers to get information about members or banned users in a supergroup or channel. Can be used only if SupergroupFullInfo.can_get_members is true; additionally, administrator privileges may be required for some filters. By default the method returns ...

Continue reading

Place Orders Coinbase Pro - Trade Bar

Enter your text here ... Trade Bar  You can use the TradeBar for Coinbase Pro to place orders in an easy way. Configure the Order Buttons with the most used Orders and take advantage of our stable and fast components to connect to Coinbase Pro Servers. You can Trade using the following Accounts: Production AccountSandbox Account Logi...

Continue reading

Place Orders Binance - Trade Bar

Trade Bar  You can use the TradeBar for Binance to place orders in an easy way. Configure the Order Buttons with the most used Orders and take advantage of our stable and fast components to connect to Binance Servers. You can Trade the following markets: SpotSpot in Demo Account (TestNet)FuturesFutures in Demo Account (TestNet) Login  Fir...

Continue reading

Delphi FTX API Client

From sgcWebSockets 4.5.0 FTX API is supported. APIs supported WebSockets API: connect to a public websocket server and provides real-time market data updates.REST API: The REST API has endpoints for account and order management as well as public market data. FTX WebSocket API  In order to connect to FTX WebSocket API, just create a new FTX API...

Continue reading

TIME_WAIT TCP Connections

When a client initiates a disconnection from server, there is an exchange between client and server to inform about the state of disconnection. When the process is finished, the client socket connection states as TIME_WAIT during a variable time. This is a normal behavior, in windows operating systems, this time defaults to about 4 minutes. You can...

Continue reading

Delphi STUN Server and Client

STUN (Session Traversal Utilitiies for NAT) it's an IETF protocol used for real-time audio video in IP networks. STUN is a server-client protocol, a STUN server usually operates on both UPD and TCP and listens on port 3478. The main purpose of the STUN protocol is to enable a device running behind a NAT discover its public IP and what type of NAT i...

Continue reading

sgcWebSockets 4.4.9

Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.4.9: [+] : New property "HttpUploadFiles" in HTTP Servers (TsgcWebSocketHTTPServer and TsgcWebSocketServer_HTTPAPI). Allows to save the POST streams received as FileStreams so server can receive big files without getting out of memory exception. [+] : New Demo ...

Continue reading

Apple Push Notifications - Certificates Based Connections to APNs (Part 4/4)

In the latest entry blog about Apple Push Notifications, I show how use certificates to authenticate against Apple Push Servers. First enter in your developer account and create a new certificate for Apple Push Notification service Once you have downloaded your certificate, the sgcWebSockets HTTP/2 client allows to use 2 security IOHandlers (only f...

Continue reading

Apple Push Notifications - Token Based Connections to APNs (Part 3/4)

In this blog I will show how configure the sgcWebSockets JWT Client to send authenticated HTTP/2 requests to Apple Push Notification Servers. Secure your communications with Apple Push Notification service (APNs) by using stateless authentication Tokens. First you must obtain an Encryption Key and a Key ID from Apple Developer Account. Once a ...

Continue reading

Apple Push Notifications - Send HTTP/2 notifications (Part 2/4)

In the previous blog, I show how retrieve a device token, now I will show how use the HTTP/2 sgcWebSockets client to send a notification (without the authentication part). Send your remote notification payload and device token information to Apple Push Notification service (APNs). How Connect to APNs You must use HTTP/2 protocol and at least TLS 1....

Continue reading

Apple Push Notifications - Register your App (Part 1/4)

sgcWebSockets library supports HTTP/2 protocol on Server and Client side components, Apple Push Notifications only allows to send Push Notifications from a Server Provider using HTTP/2 protocol, so in the following articles I will show how send push notifications using sgcWebSockets library. The Server Provider (who sends the push notifications to ...

Continue reading
Tags: