WebSocket Upload File Demo

This is a demo which shows how upload a file to a websocket server. Follow the next steps: Select a file which will be sent to server.Then press connect. If connection is successful a message will show you are connected to server.Press upload button and when file has been transferred you will see a message confirming this. Upload File Demo Select f...

Continue reading

Indy IOCP Server

Indy servers use one thread for every connection, this means that if your server must handle 1000 concurrent connections, it will create 1000 threads. But if instead of 1000 connections there are 10.000 connections, it creates 10.000 threads and so on... of course, this requires exponential hardware resources and it's not usable for high load ...

Continue reading

OAuth2 Delphi WebSockets

OAuth2 allows to third-party applications to get access to restricted resources using HTTP protocol. RFC 6749 covers OAuth2 specification. There are 4 roles: ClientResource OwnerAuthorization ServerResource Server OAuth2 Flow  (A) The client requests authorization from the resource owner. The authorization request can be made directl...

Continue reading

FMXLinux Components

Embarcadero announced some time ago FMXLinux support, basically allows to use graphical components in Linux64 apps. sgcWebSockets supports FMXLinux so you can use these components to create a graphical interface and sgcWebSockets to connect to any server supported. You can view the following screenshot which shows how a MQTT client is working in Ub...

Continue reading

Azure OAuth2 Authentication

The OAuth 2.0 authorization code grant can be used in apps that are installed on a device to gain access to protected resources, such as web APIs. Using the Microsoft identity platform implementation of OAuth 2.0, you can add sign in and API access to your mobile and desktop apps. sgcWebSockets supports Authorization Code Grant, so you can use our ...

Continue reading

TCP Half-Open Connections

Once the connection has been established, if no peer sends any data, then no packets are sent over the net. TCP is an idle protocol, so it assumes that the connection is active. Disconnection reasons Application closes: when a process is finished, usually sends a FIN packet which acknowledges the other peer that connection has been closed. But if a...

Continue reading

Coturn for Windows

Coturn is a free open source implementation of TURN and STUN Servers. The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can be used as a general-purpose network traffic TURN server and gateway, too. The supported project target platforms are: LinuxMac OS XWindows (Cygwin): compiled binaries are available for register...

Continue reading

Fingerprint Enumerate Enrollments WBF

sgcBiometrics package adds a new feature for next 1.4.0 version, now you can Enumerate which Enrollments has sensor pool selected. This method works for System and Private sensor pools. Before that, you didn't know if a biometric sample was already stored in your database except if you try to enroll fingerprint again. Now you can fir...

Continue reading

OpenSSL 1.1 Indy

Currently, Indy only supports 1.0.2 OpenSSL version and several customers have asked us about support for OpenSSL 1.1. Although OpenSSL 1.0.2 is usable at this moment because supports TLS 1.2 which is the standard protocol version, OpenSSL Team will stop supporting 1.0 API at the end of this year, this means no more updates will be released and no ...

Continue reading