FWPPC Sockcli cannot link to FW Sockserv

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

FWPPC Sockcli cannot link to FW Sockserv

Post by dutch »

Dear Antonio,

I test FW Sockserv and FW Sockcli, it works ok.

I try to link between FWPPC Sockcli to FW Sockserv, it doesn't show anything and another three button is still disable. I don't know why.

Best regards,
Dutch
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Dutch,

It used to work fine, but now, we can just connect -it takes some time- but no data is sent. We are going to review it.
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
jmartial
Posts: 457
Joined: Tue Mar 14, 2006 7:26 pm

Post by jmartial »

Antonio,

In Windows CE, Pocket hang with only TSockets()New(....)



Regards,
Joaquín
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Cannot connect on real PPC

Post by dutch »

Dear Antonio,

I test with emulator and I've got the same result, connected but cannot send anything. The result that I mention is on a real PPC.

Best regards,
Dutch
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

The problem is GETHOSTBYADDRESS

if yoy insert manually your DNS (Es :"192.168.0.50") and dont use GETHOSTBYADDRESS it works .

Look at INET.C of xHarbour .

Regards Maurizio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

Are you able to successfully run samples\sockcli.prg ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Yes , I will send the code .


Maurizio
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Post by dutch »

Dear Antonio,

If you got the correct examples please send me too.

Best regards,
Dutch
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

samples\sockcli.prg uses a fixed IP, and it does not GPF, it just does not connect.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

If you test this sample on FWPPC, you will see if works ok with no problems at all:

Code: Select all

#include "FWCE.ch" 

function Main()

   WSAStartup()
   
   MsgInfo( GetHostName(), GetHostByAddress( "127.0.0.1" ) )
   
   WSACleanUp()
   
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply