Recent

Author Topic: Sockets in Lazarus  (Read 13993 times)

SComps

  • Newbie
  • Posts: 3
Sockets in Lazarus
« on: July 18, 2004, 02:42:02 am »
Does anyone have any sample code using sockets in Lazarus, or will there be an implementation of the sockets component any time soon?

fatg

  • New Member
  • *
  • Posts: 33
Sockets in Lazarus
« Reply #1 on: July 18, 2004, 04:26:18 am »
search web for synapse, it's a collection of TCP/IP classes, that work also in freepascal
I've ran a few demos and they seem to work fine

Anonymous

  • Guest
Sockets in Lazarus
« Reply #2 on: July 25, 2004, 06:05:53 am »
Thanks for the pointer to synapse, however I've decided to give up on Lazarus for a while.  Unfortunately I've yet been able to get it to compile anything at all.. even it's own startup project.  I really don't have the time to troubleshoot the installation issues and unit incompatibilities.  Yes I know it's giving up and showing my ignorance.  I'm content with this.  I just spent three hours tracking down an issue with "INTERFACES" and apparently PPU Invalid Version 40 is the problem, yet the compiler can't locate the sources.  Again, I just don't have the time to track down the problem with the limited documentation available.

Thanks again, and to the development team--Good luck and I'll check back with the project in another year or so.  

(this is not a flame, I'm really interested in the project, just can't use it at this point)

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Sockets in Lazarus
« Reply #3 on: July 26, 2004, 02:50:58 pm »
I cannot agree with you, even if i'm not in the Lazarus team i think Lazarus is a verry good project and you shouldn't expect heavenly manna from the sky.
If you want Lazarus to become the Open Source Delphi clone then we should all contribute to the project in any way (it really needs some docs :) ).

Don't just use it, try to improve it.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Anonymous

  • Guest
Sockets in Lazarus
« Reply #4 on: July 27, 2004, 12:41:50 am »
I do agree with the previous poster.  It is "not quite there" for quick development of applications.  I have had issues also with installation (using SuSE linux), compiling some projects (the excellent rfb) and even trying to use components that simply do not work.  I realise that this is still under heavy development, even the compiler is beta.  I see promise with this project however, I don't think my skills are worthy of being able to contribute.  I agree that the project is grand in its concept, especially since Delphi 8 apparently sucks, and will benefit alot in the long run, but it has a long way to go.

fatg

  • New Member
  • *
  • Posts: 33
Sockets in Lazarus
« Reply #5 on: July 28, 2004, 03:01:40 pm »
The project is great and even though it's got a lot of things to fix, I'm impressed by the current status. But as it's been pointed out already, it's no real use as a RAD tools, more like a toy. If I had more time, I'd playing around with it much more, but since I don't I just drop in every couple of months, download and recompile everything and then go out again :)

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Sockets in Lazarus
« Reply #6 on: August 09, 2004, 03:57:42 pm »
Delphi is a "toy" because it's easy to use, Lazarus is for programmers who like the developement thrill and have the courage to use it and try to improve it.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

fatg

  • New Member
  • *
  • Posts: 33
Sockets in Lazarus
« Reply #7 on: August 13, 2004, 05:48:51 pm »
The thing is that when I decide to make something I really prefer a toy which doesn't have to be compiled and cleaned and upgraded and all that, I'd rather just run the "toy" and do the thing, you know :) There is a difference between projects; there are those that have to be made (and be stable/reliable) and the others that are fun making. For now it's definetly Delphi for the first ones.

Axoltl

  • Guest
Sockets in Lazarus
« Reply #8 on: August 31, 2004, 08:06:14 pm »
Quote from: "Lightning"
Delphi is a "toy" because it's easy to use, Lazarus is for programmers who like the developement thrill and have the courage to use it and try to improve it.

I think Lazrus+freepascal is a very interesting project and in some points lazarus is better than kylix... But Delphi... A toy? let me say Muhahahaha....
Hey dude i understand your meaning and your love for developpement thrill... I also prefer the non commercial purpose of lazarus...

Delphi still one of the best rad/compiler ever made... (in W32 world, i mean...) Much more better than M.S. C++, and i don't want to talk about delphi vs visual basic.... Muhahaha...
Have you ever reverse a delphi compiled code? The compiler make a very "smart" work.

So well, i begin to use lazarus @home... But @work it's not usable yet... Cause we've got no time to improve our developpement tool... Just enough to code for our customers, and that's exactly what my boss want!!! Arrrrgggggggg..... ;-)

@work, the tool have to be almost perfect (we pay for that)... Because our job is to make softwares... not to build tools to make softwares.....

Anyway if i find a way to improve lazarus, yes i'll do it... And yes it's a great project!
And i hope this f*ck'n commercial world will crash!

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Sockets in Lazarus
« Reply #9 on: September 02, 2004, 04:08:29 pm »
You didn't understand what i want to say with "toy" :(
I could say i love Delphi because it's an easy-to-use and verry powerful tool compared to many IDE's/compilers even C++ ones, i don't want Delphi to go down but Delphi is a commercial tool and you can't just download and use it like you can with Lazarus-FPC, you have to pay for Delphi and i found that FPC has features not implemented in Delphi, for better Delphi-like support you have to activate some extensions {$MODE DELPHI} or {$MODE OBJFPC}.
Lazarus and FPC are getting better each day and anyone can contribute to both projects :)
Delphi is still better than Lazarus/FPC but as OpenSource projects they need our support.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Axoltl

  • Guest
Sockets in Lazarus
« Reply #10 on: September 03, 2004, 11:04:57 am »
I think i have perfectly understood what you said... But may be i was a little bit touchy... Anyway it's impossible to Delphi VS Lazarus yet...
Delphi is now an old guy (Borland was on Pascal/Turbopascal  scene at the early begining)

Well Lazarus free pascal is a great challenge and i repeat that i like it very much... Results are here right now! I was blasted when i saw it for the first time... And if i can find some free time i will fork some of my components (catmull rom, fft, wavelet transform, matrix_math etc...)

He he he, you're right, let's improve the project  :wink: ... Cause we have to prepare the fight between commercial and open source...

May the force be with us.

For the socket problem i saw somewhere that there's an indy4lazarus project... It will be an excellent booster!

And if i'm right there's no problem with ICS on lazarus...

LONG LIFE TO LAZARUS!

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
OOP Sockets for lazarus
« Reply #11 on: October 24, 2004, 11:06:34 pm »
Back to the original post. I made an OOP sockets implementation usable with lazarus(non-visual but quite easy to use) It's nothing uber- it uses timers and non-blocking TCP sockets but it's there. It's not yet available but if you want I can put it on the web as beta. It should get out in about a month(I'm doing a UDP one now and some tests since this is my 1st net code)

Almindor

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Sockets in Lazarus
« Reply #12 on: October 25, 2004, 12:20:32 am »
Did you guys test Visual Synapse wrappers ?
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

 

TinyPortal © 2005-2018