From kde-devel Mon Jan 12 02:16:54 2004 From: Thiago Macieira Date: Mon, 12 Jan 2004 02:16:54 +0000 To: kde-devel Subject: Re: [kmrml] GIFT socket code extracts + some explanations Message-Id: <200401120017.05041.thiago.macieira () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=107387400201035 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1039671450==" --===============1039671450== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_hOgAAyGM2DMMdRy"; charset="utf-8" Content-Transfer-Encoding: 7bit --Boundary-02=_hOgAAyGM2DMMdRy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Wolfgang M=C3=BCller wrote: >Here comes a tar containing a description as well as some code > concerning sockets in GIFT. The code is quite yucky, but I hope that > the description will suffice to make you see things clearly enough to > determine if and what error there is on my side. Ok, I have read the code, more or less, but I still don't understand=20 what the problem is. You say the program blocks in read(2). Was there anything to be read?=20 Did you place the socket in non-blocking mode? More importantly: where is the KDE code? I see no QStrings, QValueLists=20 or KExtendedSockets in your code. You said something about=20 KIO::TCPSlaveBase (which is in kdelibs/kio/kio/tcpslavebase.{h,cpp}, by=20 the way), but I fail to see the relation. =2D-=20 Thiago Macieira - Registered Linux user #65028 thiagom (AT) mail (dot) com ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --Boundary-02=_hOgAAyGM2DMMdRy Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAAgOhM/XwBW70U1gRApyBAJ9pBdNYmjacXJRr212bowfEzuoOkgCgpdpq PN0AvNHoYeFBKkZvNAKdeis= =3J02 -----END PGP SIGNATURE----- --Boundary-02=_hOgAAyGM2DMMdRy-- --===============1039671450== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1039671450==--