471,120 Members | 1,321 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

System Sockets and Winsock in VB6


I've read a lot about the use of system sockets in Vb.net instead of winsock
fine but how do i get a vb.net service running on a 2003 server to send a
message to a desktop vb6 exe that can only use winsock?

So the service needs to send a message to the PC via some port say 8000.
The service knows the IP address of the PC also. The system socket code sends
the message and the VB6 exe has connected to the server on port 8000 but gets
no message. Am I missing the point here?

is there something different about the raw data passed by system sockets
that winsock cannot interpret.

Has anyone managed to do this?

BTW rewriting the desktop VB6 exe is not an option as it is massive and very
complicated and not needed if the exe can receive the message on the
designated port.

Can anyone help or suggest some other method.

As a last resort i may get the service to talk to an VB6 activex dll to get
it to send the message but surely this is un-necessary...

Jun 27 '08 #1
0 1057

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Robert A. van Ginkel | last post: by
9 posts views Thread by Gita George | last post: by
reply views Thread by Björn Pedersen | last post: by
2 posts views Thread by Jm | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.