On 21-4-2011 8:30, Joshua Lim wrote: > Hi Marco, thanks. Yes, I am replacing out of portability. I have thought > of using LNET but LNET uses FPC socket - which won't work for Delphi I > suppose.
Sockets is nothing but a header. A windows only port should be fairly easy. Is just a matter of gathering all generic and windows specific parts of the units (.pas/.pp + .inc files), putting them in one unit, make some modifications for delphi quirks and add some types and constant (FPC has some portable OS specific types in base units, for e.g. the 64-bit usage and/or per platform definition of base C types) The older delphi mods is that FPC usually assumes that the D2009+ {$pointermath on} is on (need to fix for older Delphi, typically with pbyte->pchar substitution), and unicode issues for newer Delphis. ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public