Results 1 to 7 of 7

Thread: forcing local port number from TcpSocket?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Mar 2007
    Posts
    59
    Thanks
    7

    Default Re: forcing local port number from TcpSocket?

    I saw that one, but the description didnt match what i needed, it seemed it was for something else.

    You can call this function in a subclass of QAbstractSocket to change the return value of the localPort() function after a connection has been established. This feature is commonly used by proxy connections for virtual connection settings.

    Note that this function does not bind the local port of the socket prior to a connection (e.g., QUdpSocket::bind()).
    How can this be useful if it does not bind the port until after the connection is established?
    Last edited by jacek; 3rd January 2008 at 17:24. Reason: changed [code] to [quote]

Similar Threads

  1. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.