[Qt-interest] Alternative for bind() in TCP sockets

Markus Goetz Markus.Goetz at nokia.com
Wed Jan 19 12:26:13 CET 2011


There's QTcpServer if you look for incoming connections.

Else you can also take a look at 
http://qt.gitorious.org/qt/qt/merge_requests/2373 for source port binding for 
outgoing connections.

On Wednesday, January 19, 2011 05:03:15 am ext Anisha Kaul wrote:
> Greetings to all,
> 
> Yes of course this question must have been asked a thousand times before
> and I did search Google before posting here but couldn't get a
> satisfactory answer.
> 
> bind() is not available for the TCP sockets in QT, so would someone be
> kind enough to suggest the alternative/workaround for that?
> 
> Thank you,
> Anisha
> 
> 
> -------------------------------------
> Hi-Tech Gears Limited, Gurgaon, India
> 
> 
> 
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list