Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Textchat: Recieved messages displyed instantly for the recipient

Author
Message
holger at home
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location:
Posted: 12th Apr 2009 11:41 Edited at: 12th Apr 2009 20:56
hey @ all!
I'm working on a textchat which is explained in "Hands on ...Vol.2"
At the end it is working but the prob is:
messages are not displayed immediately after sending.
This means:
The recipient has to send a message and the recieved message is only displyed after the recipient pushed "enter" to send his message.
I tried several changes but none didn't really solved this prob.
So i hope someone could help me
thanks previously


P.S: I'm working with the internal IP to test the host and client on my own machine: 127.0.0.1

Here is the code so far:

edit: please see the code in the post below
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Apr 2009 16:36
I'm not sure what the problem is, but please use code boxes, it will make people want to read your posts more .

[ code ]
*CODE GOES HERE
[ /code ]

(without the spaces of course)



Your code in a code box:


<---Spell casting battle game!
holger at home
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location:
Posted: 12th Apr 2009 21:09
thx sixty for putting my code in a codebox. I used it but i forgot to delete the brackets.

well, the prob is:
a message sendet to another user should be displayed automatically
the recipient recieved the message, right?
But it doesnt!
It only will be displayed after the recipient is sending a message!

and pushing enter for sending his own message.

In this easy code is no media neede. So maybe someone likes to copy it and load it in his dbpro to try it.
So it will become pretty clear to see whats the prob.

I hope this easy to solve and doesnt depent on the structure on dbpro.
It would be way to hard for a beginner to hancle this.

regards

Login to post a reply

Server time is: 2024-11-24 08:51:07
Your offset time is: 2024-11-24 08:51:07