Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Sending an image over a TCP connection....

Here is my situation:
I have created two VB programs: one is a server, the other a client.  Both utilize the Microsoft Winsock Control.  I fire up the Server program, then with the client program I enter the server IP and connect.  I can get these two programs to connect fine BUT my next step is to be able to send an image from an Image Control to the server, and have the server display the image in its own Image Control.  Summary: how do I send an image over a tcp connection and display it?

Thank you everyone who attempts to solve this problem for me, I greatly appreciate it!

-Josh
0
jsm11482
Asked:
jsm11482
  • 3
  • 2
1 Solution
 
Richie_SimonettiCommented:
Just an idea,
Save the contents of image to a file
Send that file through Winsock
Loadpicture on the other  side of the line.
0
 
jsm11482Author Commented:
right, but i do not know how to send the image through winsock....
-Josh
0
 
Richie_SimonettiCommented:
See this link (it includes a source file)
http://www.vb-world.com/demos/winsock/
0
 
jsm11482Author Commented:
Thank you!
-Josh
0
 
Richie_SimonettiCommented:
See this link (it includes a source file)
http://www.vb-world.com/demos/winsock/
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now