Ca sa iti faci un client in QT e simplu:

    sock=new QSocket();
    sock->connectToHost("localhost",CLIENT_PORT);
    connect(sock,SIGNAL(connected()),this,SLOT(x_conn())); - se cheama
cand s-a conectat
    connect(sock,SIGNAL(readyRead()),this,SLOT(x_ready())); - se cheama
cand sunt date de citit
    connect(sock,SIGNAL(error(int)),this,SLOT(x_error(int))); - se
cheama cand apare o eroare

in x_ready poti sa faci ceva de genul:
while(sock->canReadLine()){
        QString sframe=sock->readLine();
.....

Len


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui