Originally Posted by yvan40 perfect! Qt Code: Switch view sock->bind(2152); /// \TODO need generate random client TID, and check if port available (select another if not) ; see RFC1350 sock->bind(2152); /// \TODO need generate random client TID, and check if port available (select another if not) ; see RFC1350 To copy to clipboard, switch view to plain text mode No need to worry about available ports if you let bind() handle it for you like this: Qt Code: Switch view sock->bind(); sock->bind(); To copy to clipboard, switch view to plain text mode
sock->bind(2152); /// \TODO need generate random client TID, and check if port available (select another if not) ; see RFC1350
sock->bind();
View Tag Cloud
Forum Rules
Bookmarks