[Qt-interest] help for QT communication
Kai Koehne
kai.koehne at nokia.com
Wed Aug 19 09:21:57 CEST 2009
ext 陈凌云 wrote:
> Thanks for your replying ASAP.
>
> My dev environment is windows mobile 5.0 and QT’s version is 4.5.2.
>
> “It can not connect to the target server” means that the dialing is
> successful, but when I use the connect function to connect the target
> server, the server has not received the connecting requesting.
>
> The codes is available in my own test app, but after it has been merged
> into QT’s UI, it looks like it can not work correctly.
>
> Some of my connect code is like below:
>
> * * if( j->connect( false ) )
>
> * { *
>
> * * ConnectionError * * ce * = * ConnNoError ;
>
> * * while ( ce * == * ConnNoError * )*
>
> * { *
>
> * * ce * = * j -> recv ();
>
> * } *
>
> * * printf ( "ce: %d\n" , ce * );*
>
> * } *
Hi,
sorry, I missed in your original post that your are not using the Qt
networking classes at all ... I somewhat doubt therefore that Qt is
really the cause of your connecting problems.
Maybe a GLOX mailing list is the better place to get useful help?
Regards
Kai Koehne
--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-interest-old
mailing list