PDA

View Full Version : QT chatting software



sophister
1st June 2009, 16:43
Hello 2 all:
I want to write a chatting software using QT4.5, and it can handle chattings in the LAN.
I wonder what QT classes I have to read.

any idea appreciated!!
thanks!!

kei
1st June 2009, 17:48
Do you know the "Network Chat Example (http://doc.qtsoftware.com/4.5/network-network-chat.html)" of Qt?

sophister
2nd June 2009, 16:53
Thanks! I am reading the examples.
But it is uging UDP while I want to use TCP. What's more, I want the application allow some users to talk privately.

kei
2nd June 2009, 21:26
You said you want to write a software :eek:
It shouldn't be hard to change to tcp and insert a privacy function.

dognzhe
3rd June 2009, 08:15
I think "private talk" has nothing to do with what protocal you use

most of chatting are using udp

sophister
3rd June 2009, 17:13
Yes, as I know, if too many computers join the chatting, the Server UI would freeze. It is recomended that we use multithread at the server. But I have no knowledge of MultiThread.
Furthermore, I want the user can transfern files at the same time. Will TCP work fine with this??
Thanks!!

sophister
3rd June 2009, 17:15
uh, yeah, private talk has nothing to do with the protocal.
if I want to add a function that user can senf file to each other, which protocal do you suggest??
Thanks!!