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

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

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