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

Nguyen Huu Phuoc nhphuoc at vn.isb.co.jp
Wed Jan 19 05:39:57 CET 2011


Why you need bind()?
bind function allow you bind a port to your tcp server.
You can do that by listen().
I think you want to use by to check if a port is available.
Am I right?
Nguyen Huu Phuoc
阮 有 福-グエン.ヒュー.フォック
ISB VIETNAM Co., Ltd (IVC) 
nhphuoc at vn.isb.co.jp
-----Original Message-----
From: qt-interest-bounces+nhphuoc=vn.isb.co.jp at qt.nokia.com
[mailto:qt-interest-bounces+nhphuoc=vn.isb.co.jp at qt.nokia.com] On Behalf Of
Anisha Kaul
Sent: Wednesday, January 19, 2011 11:03 AM
To: qt-interest
Subject: [Qt-interest] Alternative for bind() in TCP sockets

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




____________________________________________________________________________
This email is intended for the sole use of the intended recipient/s. Any review or copying or distribution or forwarding of any or all of the contents in this message is strictly prohibited. If you were not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.




More information about the Qt-interest-old mailing list