How Send Picture via Winsock?

hi
I am working on a communication program with winsock..
However, my progress is not getting any further when i try to send a picture via "Winsock.SendData"... I have tried many ways, but still cant make it possible. Yet, i really cant figure out the proper statements into the fuction..
Please, help me..

Private Sub SendPic_Click()

Winsock1.SendData ?????

End Sub

Comments

  • : hi
    : I am working on a communication program with winsock..
    : However, my progress is not getting any further when i try to send a picture via "Winsock.SendData"... I have tried many ways, but still cant make it possible. Yet, i really cant figure out the proper statements into the fuction..
    : Please, help me..
    :
    : Private Sub SendPic_Click()
    :
    : Winsock1.SendData ?????
    :
    : End Sub
    :

    Have you tried opening the file "as binary" and sending it as text, for then to save it again in the other end?

    Or even coding it to a HEX string before trasmitting?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion