Protocol
FILES
Files eSeGeCe WebSockets Protocol

Publish subscribe architecture

Files are delivered asynchronously (“push”) through publish subscribe architecture.

Authorization

Optionally can request Authorization for files received.

Quality of Service (QoS)

Implements QoS (Quality of Service) for file delivery.

Low Memory Usage

Can handle small, medium and big files using low memory.

  • Files Delphi | Files .NET
  • Protocol Files Demo | Files .NET Demo
  • Rad Studio Trial | .NET Trial

Create Connection

// Create websocket client and set server options
oClient := TsgcWebSocketClient.Create(nil);
oClient.Host := 'www.esegece.com';
oClient.Port := 5414;

// Create SGC protocol and assign to websocket client
oFiles := TsgcWSPClient_Files.Create(nil);
oFiles.Client := oClient;


// Handle SGC methods
oFiles.OnSGCConnect := OnSGCConnectHandler;
oFiles.OnSGCDisconnect := OnSGCDisconnectHandler;

// connect to server
oClient.Active := True;

Send File

// send file in "c:\myFile.txt"
oSGC.SendFile('c:\myFile.txt');

Supported Platforms

The component supports the following Platforms:

Delphi   CBuilder Lazarus    .NET