Results 1 to 2 of 2

Thread: client/server prog using UDP

  1. #1
    Join Date
    Jul 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default client/server prog using UDP

    HI,
    I wrote a client server program using UDP socket.I am able to send the Datagrams from client to server but unable to pass the acknowledgements from server to client.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: client/server prog using UDP

    Quote Originally Posted by rajeshakula View Post
    HI,
    I wrote a client server program using UDP socket.I am able to send the Datagrams from client to server but unable to pass the acknowledgements from server to client.
    What means?

    UDP does not provide acknowledgements support.
    To implement it you have to open a "receiving" socket in your client and send aknowledge to it from the server.

    You can use the socket used from sending and the server can know how to send using address and port parameters of QUdpSocket::readDatagram()
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. TCP Client / Server
    By bmarsden in forum Qt Programming
    Replies: 4
    Last Post: 8th October 2010, 10:18
  2. tcp QT server - .Net c# client
    By soniaerm in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2010, 22:15
  3. Client Server
    By electronicboy in forum General Programming
    Replies: 3
    Last Post: 29th October 2009, 10:10
  4. Server is not reading from client
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 30th November 2006, 16:45
  5. client-server how?
    By nongentesimus in forum Newbie
    Replies: 6
    Last Post: 28th November 2006, 09:25

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.