Recent

Author Topic: indy 10 and linux  (Read 7184 times)

angman

  • Jr. Member
  • **
  • Posts: 58
indy 10 and linux
« on: October 18, 2006, 06:27:43 pm »
I am doing some simple test to verify yhe compatibility beetwen windows and linux of indy udpclient and server components. I did two simple programs: one cliente that send messages, and a server that add recived messages in a listbox.

In windows all works without problems, while in linux the client program, when send a message give 'socket error 22'

Somebody had the some problem, and know how to solve it?

Thanks very much,  angman

Hippy

  • New Member
  • *
  • Posts: 32
    • http://www.matthewhipkin.co.uk
indy 10 and linux
« Reply #1 on: November 11, 2006, 12:23:58 pm »
When using Lazarus 0.9.14 I have had no problems with Indy 10 under Linux. Indy won't even compile in any newer version though  :(

Which Indy version are you using?

thaimann

  • Jr. Member
  • **
  • Posts: 84
indy 10 and linux
« Reply #2 on: November 12, 2006, 05:17:13 am »
Is there any work being done to make indy work on the newer releases.  I have used indy under delphi and it is nice.

Hippy

  • New Member
  • *
  • Posts: 32
    • http://www.matthewhipkin.co.uk
indy 10 and linux
« Reply #3 on: November 12, 2006, 01:07:32 pm »
I have found an easy way for RPM-based distros. If you download this version of Indy: http://www.indyproject.org/Sockets/fpc/indy-10.2.0.1.tar.gz It includes a script to build RPMs (indy-fpc-10.2.0.1-8.i386.rpm and indy-fpc-src-10.2.0.1-8.i386.rpm). Once those RPMs are installed you just need to load indylaz.lpk into Lazarus and Install it.

This has worked on Fedora Core 6 using Lazarus svn from 11th November.

thaimann

  • Jr. Member
  • **
  • Posts: 84
indy 10 and linux
« Reply #4 on: November 15, 2006, 04:31:12 am »
Does this have to be in a specific dir when you run the script?

Hippy

  • New Member
  • *
  • Posts: 32
    • http://www.matthewhipkin.co.uk
indy 10 and linux
« Reply #5 on: November 18, 2006, 03:39:31 pm »
As long as it's writable by the user you're logged in as.  If I remember correctly the script did have one or two problems with it but it still created the RPMs.

angman

  • Jr. Member
  • **
  • Posts: 58
indy 10 and linux
« Reply #6 on: January 02, 2007, 10:42:46 am »
Please excuse me for the late in answer, I have been outside for some works.

I am using lazarus 0.9.18 and indy10.2.0.1

I wrote some simple test programs with UDPClient components, and tried t run both under windows and linux. The windows version runwithout any problem, while the linux version give the error socket error 22.

The linux OS used is a Debian Sarge.

Have you already used the Udp components, and if so, are they working good under linux.

Thanks, angman.

 

TinyPortal © 2005-2018