Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor silver_man82's Avatar
    Join Date
    Mar 2005
    Posts
    51
    Drear friends
    I develop an application "client and server" that receive image. And the problem is that I don't know what the size of image is! Am using socket rev(), and to use it u must to paste an know Des size before call the function . If any one knows how to solve this problem and I will be thank full to hem?

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,413
    Set up your client/server protocol so that when a client app requests the image from the server, the server first replies with a message with the image size (which the server reads from the image file info).

    Only after the client has acknowledged the size message, the server sends the image file contents.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved