Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-09

Synapse stop working

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

German Gentile

I know you already know, just trying to help de developer of synapse libs Lukas Gebauer, to find a solution to that problem.

I send he a email in the synapse list, and he is asking for that info:

"

> Are there plans in the near future to fix ssfpc.pas to not use the > socket functions that have been deprecated in the FPC trunk (as of > revision 13498 of FPC's socketsh.inc)? Currently synapse is not usable > with the FPC trunk.

And what is recommend instead of socketsh now?

Lukas Gebauer." Can any fpc developer tell me what is the response? sockets calls stop working in new fpc versions, as you know.. TIA Donald. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090925/4daabe28/attachment.html>

Reply by email

Marco van de Voort
to German Gentile
German Gentile wrote 12 lines
I know you already know, just trying to help de developer of synapse libs Lukas Gebauer, to find a solution to that problem. I send he a email in the synapse list, and he is asking for that info: " > > Are there plans in the near future to fix ssfpc.pas to not use the > > socket functions that have been deprecated in the FPC trunk (as of > > revision 13498 of FPC's socketsh.inc)? Currently synapse is not usable > > with the FPC trunk. And what is recommend instead of socketsh now?

http://wiki.freepascal.org/User_Changes_Trunk#Almost_all_old_1.0.x_socket_unit_functions_have_been_removed

In other words, in late 2004 or early 2005 a new set of functions was added that matched the C prototypes more closely with a "fp" as prefix.

Three kinds of changes are necessary:
- most socket functions will need to get a "fp" prefix (like all other *nix FPC functions)
- some socket functions are slightly renamed to match C names (getsocketoption to getsockopt
- It might be necessary to add @ here and there, since the prototypes are now C like, and uses pointers instead of untyped VAR parameters.

Reply by email

Jürgen Hestermann
to German Gentile: I know you already know, just trying to help de developer of synapse libs Lukas Gebauer,…
Can any fpc developer tell me what is the response? sockets calls stop working in new fpc versions, as you know..

That's strange. I use Synapse for Telnet connections and it's working fine (Synapse Release 38 from 2007-12-21 and Lazarus 0.9.29, FPC 2.3.1). I *have* problems with SSH connections but they are the same in Delphi (7) and are caused by CryptLib.

Reply by email

German Gentile
to Jürgen Hestermann

I bet if you are using an old 2.3.1 version or don't use unit ssfpc you will be ok.

Wich fpc svn version are you using?

2009/9/26 J?rgen Hestermann

Show quoted text 18 lines
Can any fpc developer tell me what is the response? sockets calls stop > working in new fpc versions, as you know.. > That's strange. I use Synapse for Telnet connections and it's working fine (Synapse Release 38 from 2007-12-21 and Lazarus 0.9.29, FPC 2.3.1). I *have* problems with SSH connections but they are the same in Delphi (7) and are caused by CryptLib. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
German Pablo Gentile CTO - Dpto. de Desarrollo y Tecnolog?a. PetroBox Internacional Fabricantes de la l?nea de productos PetroBox y PetroTruck http://www.petrobox.net (Oficinas Colombia) (57) 5-4222465 (57) 3017258189 (Bolivia) (591) 75373000 (HQ Argentina) (5411) 4798-6956 (54911) 3838-4749 MSN Google Talk skype(VoIP) germanpablogentile -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090929/04086cf8/attachment.html>

Reply by email

German Gentile
to Marco van de Voort: http://wiki.freepascal.org/User_Changes_Trunk#Almost_all_old_1.0.x_socket_unit_functions_h…

2009/9/26 Marco van de Voort

Show quoted text 15 lines
http://wiki.freepascal.org/User_Changes_Trunk#Almost_all_old_1.0.x_socket_unit_functions_have_been_removed In other words, in late 2004 or early 2005 a new set of functions was added that matched the C prototypes more closely with a "fp" as prefix. Three kinds of changes are necessary: - most socket functions will need to get a "fp" prefix (like all other *nix FPC functions) - some socket functions are slightly renamed to match C names (getsocketoption to getsockopt - It might be necessary to add @ here and there, since the prototypes are now C like, and uses pointers instead of untyped VAR parameters.

Thanks
I will talk with Lucas about that.

German Pablo Gentile -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090929/6d15bd59/attachment.html>

Reply by email

Jürgen Hestermann
to German Gentile: I bet if you are using an old 2.3.1 version or don't use unit ssfpc you will be ok. Wich…
German Gentile schrieb: I bet if you are using an old 2.3.1 version or don't use unit ssfpc you will be ok.

Well, I don't use this ssfpc unit directly and I don't know under what circumstances the synapse routines do it. I only use Synapse for Telnet logon and it works (so far).

Wich fpc svn version are you using?

SVN revision 21580, but older versions worked too.

Reply by email

German Gentile
to Jürgen Hestermann

2009/9/30 J?rgen Hestermann

Show quoted text 17 lines
> German Gentile schrieb: > I bet if you are using an old 2.3.1 version or don't use unit ssfpc you > will be ok. > Well, I don't use this ssfpc unit directly and I don't know under what circumstances the synapse routines do it. I only use Synapse for Telnet logon and it works (so far). Wich fpc svn version are you using? > SVN revision 21580, but older versions worked too.

I can confirm Lukas fixed it and synapse svn rev 102 works fine with fpc 2.5.2 under linux 64 bits.

German Pablo Gentile CTO - Dpto. de Desarrollo y Tecnolog?a. PetroBox Internacional Fabricantes de la l?nea de productos PetroBox y PetroTruck http://www.petrobox.net (Oficinas Colombia) (57) 5-4222465 (57) 3017258189 (Bolivia) (591) 75373000 (HQ Argentina) (5411) 4798-6956 (54911) 3838-4749 MSN Google Talk skype(VoIP) germanpablogentile -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090930/fa368c99/attachment.html>

Reply by email