How to recieve a jpg from server using socket programming?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msabirali
    New Member
    • Jan 2011
    • 1

    How to recieve a jpg from server using socket programming?

    I need a sample code to start a program that can receive a jpeg file from server using socket programming. Any code or reference is appreciated.
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    have a look at the tutorial


    if you do an internet search you will find plenty of material on C/C++ socket programming.

    will you use TCP or UDP sockets? unless the files can fit into a UDP datagram I would suggest TCP as you would then get error checking and sequence control.

    Comment

    Working...