Hello All,

 

It seems that I discovered that using Linux with Lazarus with a compliant FPC 2.0.4 version that resolving of IP addresses is failing and informing me that on the OnStatus event with an error of "Host not found".  I am simply creating a TBlockSocket to do this with a simple connect to either a (Hostname or an IPv4 address) and a given port.  I also setup the socket so it is a "Family" of IPv4.  This seems to work fine for a Windows compilation via Lazarus on Windows using the FPC 2.1.1 system but this is not our platform target.  Thou under FPC 2.0.4 and earlier supporting Lazarus to this compiler are also failing; this is for both Linux and Window platforms!

 

=============================

The situation is as follows:-

=============================

1) The client program is a low level VSS (Video Sub System) which communicates to a windows server host program (Yes, lets not go there why it is windows k?).  But the VSS is a Linux application running currently on a Fedora 5 Environment and the windows system is XP Environment with latest patches and upgrades to date.

 

2) Pinging and trace routing from a Linux terminal to the windows machine is showing and responding that packets are going through correctly.  So here, network is showing that communications are OK via TCP/IP protocols.

 

3) The server application is not showing any indications of connection.

 

4) There are no firewalls via software or hardware to block such packet requests.

 

5) Packet sniffing (Using Ethereal v0.99) is also indicating that there are no packets coming across via Linux to windows in the attempt to connect.

 

Using the VSS application and compiling under windows with Lazarus 9.19 beta and using FPC 2.1.1 it seems to work fine but this simply defeats the purpose of our goals.  Using an earlier version of Lazarus for Windows using the FPC 2.0.4 it will also fail in resolving the IP address!  Needless to say using Linux as well fails!

 

============================

The Million dollar questions

============================

1) Is there a bug under Lazarus or more so for the FPC for version 2.0.4 under Linux?

 

2) I have been informed that Resolving of IP addresses for Linux has had major changes lately, is this correct?

 

3) I have also tried INET 0.4.0, FPC general functions such as FPConnect() etc, SocketClient, and of course now the Synapse 37 API libraries.

 

4) The socket handling for connecting and reading is strictly done via an individual synchronise thread.

 

5) Am I doing something wrong or misunderstanding something completely when it comes to Linux and socket programming???

 

6) Is anyone else on Linux having similar problems?

 

If anybody can help or give me some insight to this grand dilemma of mine, It would be more than greatly appreciated.

 

Kindest Regards

 

Daniel Hobson.

 

PS: Has gone around the bend on this one!

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to