New commit (#5329) on Indy SVN trunk by Embarcadero... :)

New commit (#5329) on Indy SVN trunk by Embarcadero... :)

//Delphi & CBuilder 10.1 London (BigBen)
{$IFDEF VER310}
{$DEFINE VCL_LONDON}
{$IFDEF CBUILDER}
{$DEFINE CBUILDER_LONDON}
{$ELSE}
{$DEFINE DELPHI_LONDON}
{$ENDIF}
{$ENDIF}

{$IFDEF LINUX64}
{$DEFINE NO_NATIVE_ASM}
{$ENDIF}

SetSockOpt(Id_SOL_SOCKET, Id_SO_REUSEADDR, LValue);
{$IFDEF DCC}
{$IFDEF LINUX64}
// RLebeau 1/18/2016: Embarcadero's PAServer on Linux64 fails quickly with
// "socket in use" errors without this option enabled. PAServer bug? For
// now, noone else has complained about problems related to this option,
// so let's limit this fix to just Delphi for now. Should we add a
// HAS_SO_REUSEPORT define so FPC can use this too? What about adding a
// new ReusePort property to configure this separately from ReuseSocket?
SetSocketOption(Id_SOL_SOCKET, Id_SO_REUSEPORT, LValue);
{$ENDIF}
{$ENDIF}

Comments

  1. Christen Blom-Dahl They've strongly hinted at Linux server support, if so 64bit surely is the primary target.

    ReplyDelete
  2. Do not forget that most people having some information about the upcoming Delphi are tied to NDA. It is safer and much less error-prone to apply for the field test, or wait for the release.
    Source code commits can be misleading, since they are preliminary work-in-progress.
    For Linux server, FPC does very good job since years...

    ReplyDelete

Post a Comment