Results 1 to 6 of 6

Thread: send images with tcp

  1. #1

    Thread Starter
    New Member peloton47's Avatar
    Join Date
    Jun 2005
    Location
    Vzla
    Posts
    4

    send images with tcp

    hello, well i`m new in the forum and i will like to know a pair of things.. well i build recently a server client aplications using a tcp conection with winsock (a simple chat).. but now i want to send a archive through it (images) someone can help me? and display them in a picturebox (please excuse my bad english)

    thanks.
    peloton47
    "Nunca fui mejor que nadie,
    pero nadie fue mejor que yo"

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: send images with tcp

    Read the file in chunks, and send each chunk. Then reassemble them on the other end, and open in a picturebox.

  3. #3

    Thread Starter
    New Member peloton47's Avatar
    Join Date
    Jun 2005
    Location
    Vzla
    Posts
    4

    Re: send images with tcp

    ok i guess that sounds good but the problem is i have no idea of how to do that.. :-( . can you give me if it is not to much trouble a little source code o any idea of where i can find one with that example? thanks :-)

    peloton47
    "Nunca fui mejor que nadie,
    pero nadie fue mejor que yo"

  4. #4

    Thread Starter
    New Member peloton47's Avatar
    Join Date
    Jun 2005
    Location
    Vzla
    Posts
    4

    Re: send images with tcp

    somebody help me..
    :-s
    "Nunca fui mejor que nadie,
    pero nadie fue mejor que yo"

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: send images with tcp

    I searched for CHUNKS and found this:

    http://www.vbforums.com/showpost.php...27&postcount=8

  6. #6

    Thread Starter
    New Member peloton47's Avatar
    Join Date
    Jun 2005
    Location
    Vzla
    Posts
    4

    Re: send images with tcp

    thanks that was a really god help thank you.
    well that`s it.
    my question is resolved.
    :-) thanks.
    "Nunca fui mejor que nadie,
    pero nadie fue mejor que yo"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width