Results 1 to 5 of 5

Thread: simple socket client example

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Location
    Poland
    Posts
    184
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    70
    Thanked 7 Times in 6 Posts

    Default simple socket client example

    Hello!

    I've wrote server and client using sockets.h in C. Now I'm trying to write client in QT4. I can't find any working example. My server program sends always 20 bytes if we first send him one byte which is 'o', and I just want to read It. Anyone can help? Maybe some sample code?

    thanks in advance
    best regards
    Tomasz
    Last edited by Tomasz; 26th July 2010 at 10:25.

Similar Threads

  1. Client Socket
    By electronicboy in forum General Programming
    Replies: 1
    Last Post: 12th October 2009, 12:20
  2. Replies: 1
    Last Post: 27th March 2009, 13:20
  3. Help with a simple client programe
    By QuTe in forum Newbie
    Replies: 11
    Last Post: 31st October 2007, 21:41
  4. Programming client-server with socket in multi-languages
    By philiptine in forum Qt Programming
    Replies: 3
    Last Post: 7th September 2007, 07:35
  5. bad UDP socket :(
    By chaosgeorge in forum Qt Programming
    Replies: 1
    Last Post: 11th December 2006, 02:55

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.