#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    4
    Rep Power
    0

    How Can I send an Image with winsock?


    Hi. I have made a client and a server. When I send Text from one program to another everything works just fine. How can I send an image?
    That image will be on the clipboard so how can I take it from the clipboard and send it?

    Provide an example if possible.

    I would appreciate an answer!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2002
    Posts
    693
    Rep Power
    26
    One method may be to base64 encode it like is done with email attachements, then it can be transferred like any other string data.

IMN logo majestic logo threadwatch logo seochat tools logo