[PyQt] network-chat sample
Gustavo A. Díaz
gustavo.diaz at gmail.com
Sun Jun 6 04:22:09 BST 2010
I don't know if this will help a little, but here is how i do a broadcast to
find workstations on my net:
2010/6/5 Philippe Crave <philippe.crave at gmail.com>
> thanks, I will check that.
> What I am looking for, is a way to get several applications (made with
> pyqt) exchanging data. they will be on different PCs, on a local
> and there will be 2 or 3 applications on each PC.
> I would like that each application send its data, when ready, to all
> the others (other application on the same PC, and other applications
> on the other PCs).
> so far, the best I could find is that each application should send a
> socket to all the others, one by one.
> I did not find a way to broadcast. If someone know how to do it, that will
> and then, each application runs a threaded QTcpServer.
> then, I am looking for a way for the applications to find the others
> on the network (ie, find the adress/port)
> that's why I try to understand the chat sample.
> 2010/6/5 Gustavo A. Díaz <gustavo.diaz at gmail.com>:
> > Ehmmm... now that I see better is another example, but maybe you could
> > some code as example.
> > 2010/6/5 Gustavo A. Díaz <gustavo.diaz at gmail.com>
> >> I used it for my application with some improvements. Read it in these
> >> classes:
> >> Cheers.
> >> 2010/6/5 Philippe Crave <philippe.crave at gmail.com>
> >>> Hello,
> >>> is there somewhere the network-chat example in python ?
> >>> http://doc.qt.nokia.com/4.6/network-network-chat.html
> >>> thank you,
> >>> philippe
> >>> _______________________________________________
> >>> PyQt mailing list PyQt at riverbankcomputing.com
> >>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> >> --
> >> Gustavo A. Díaz
> >> GDNet Projects
> >> www.gdnet.com.ar
> > --
> > Gustavo A. Díaz
> > GDNet Projects
> > www.gdnet.com.ar
> > _______________________________________________
> > PyQt mailing list PyQt at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> PyQt mailing list PyQt at riverbankcomputing.com
Gustavo A. Díaz
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt