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
jsm11482Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Richie_SimonettiConnect With a Mentor IT OperationsCommented:
See this link (it includes a source file)
http://www.vb-world.com/demos/winsock/
0
 
Richie_SimonettiIT OperationsCommented:
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
 
jsm11482Author Commented:
Thank you!
-Josh
0
 
Richie_SimonettiIT OperationsCommented:
See this link (it includes a source file)
http://www.vb-world.com/demos/winsock/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.