Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21839

[RESOLVED] How to: Winsock App that ............

$
0
0
I want to make a Winsock application that can either be connected to from another app or it can connect to the other app.

I think it will be a three socket app.

Socket 1: This socket will be to Listen for a connection
Socket 2: This socket will be used for communication
Socket 3: This socket will be used for data transfer

If this app makes the connection it will use socket 2 for both connection and communication and socket 3 to send data.

If this app is connected to then it uses socket 1. In the ConnectionRequest event socket 2 will accept the request ID.

My question is if socket 1 or socket 2 is used in the connection how do I set up socket 3 for sending/receiving data?

Viewing all articles
Browse latest Browse all 21839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>