FWPPC Sockcli cannot link to FW Sockserv

FWPPC Sockcli cannot link to FW Sockserv

Postby dutch » Wed Sep 06, 2006 4:25 pm

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
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Wed Sep 06, 2006 6:08 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 41519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby jmartial » Wed Sep 06, 2006 10:09 pm

Antonio,

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



Regards,
Joaquín
jmartial
 
Posts: 458
Joined: Tue Mar 14, 2006 7:26 pm

Cannot connect on real PPC

Postby dutch » Thu Sep 07, 2006 2:02 am

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
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Maurizio » Thu Sep 07, 2006 5:57 am

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
Maurizio
 
Posts: 799
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Thu Sep 07, 2006 7:51 am

Maurizio,

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

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

Postby Maurizio » Thu Sep 07, 2006 9:06 am

Yes , I will send the code .


Maurizio
User avatar
Maurizio
 
Posts: 799
Joined: Mon Oct 10, 2005 1:29 pm

Postby dutch » Fri Sep 08, 2006 2:09 am

Dear Antonio,

If you got the correct examples please send me too.

Best regards,
Dutch
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Fri Sep 08, 2006 6:43 am

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: 41519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Fri Sep 08, 2006 9:40 am

Maurizio,

If you test this sample on FWPPC, you will see if works ok with no problems at all:
Code: Select all  Expand view
#include "FWCE.ch"

function Main()

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

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


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 4 guests