[Delta] Iris questions
stormway at gmail.com
Wed Mar 26 14:35:45 PDT 2008
On Wed, Mar 26, 2008 at 10:32 AM, Justin Karneges <justin-psi2 at affinix.com>
> On Wednesday 26 March 2008 5:36 am, K. Nimer wrote:
> > On Tue, Mar 25, 2008 at 12:59 PM, Justin Karneges <
> justin-psi2 at affinix.com>
> > wrote:
> > > Did you change it so the program doesn't exit until the file has
> > > sending?
> > is it something different than sending the message? because it sends a
> > message now , so that means i didnt touch the way , we close client
> When you close Client and wait for the finished signal, this ensures all
> pending stanzas are sent to the server. In the case of a file transfer,
> is simply the file transfer request. The file itself is not sent until
> other person accepts the request.
> So yes, you should not close Client until the entire file has transferred.
> However, even if you are closing it immediately after offering the file,
> other person should at least receive the file transfer request (but when
> press Accept, it will fail).
thats my point
i dont even receive a file request
and i close the client right after i send the file so this is wierd
> > > Try listening to the error() signal from the FileTransfer.
> > i tried but the thing is that error() << has one parameter
> > and sendFile has many so they are not compitable,
> connect(ft, SIGNAL(error(int)), SLOT(ft_error(int)));
> define the slot:
> void ft_error(int errorCode)
> std::cout << "Error sending file: " << errorCode << std::endl;
RESULT : error sending file: 1
please note that i always receive the message , so i recieve the message
then i receive: error sending file: 1
> Please learn Qt signals and slots. :P
hahaha man i know how use qt signals and slots i just didnt know that there
exists a slot called error and i thought there exists a signal but didn't
know its name, like i didnt know there is somethign called error() lol
i should have looked tho :P my mistake
sorry again about that :( lol
> Delta mailing list
> Delta at lists.affinix.com
Bachelor of Computer Science (ECP)
Option: Software Systems
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Delta