troubleshooting Question

Win sock connect with multiple port

Avatar of RETAILREALM
RETAILREALMFlag for United States of America asked on
Visual Basic Classic
3 Comments1 Solution546 ViewsLast Modified:
Hi
We are using Winsock control to connect to external program whose  ip address let’s say 192.168.1.1
Now we need to talk with that control on port 25000
This is fine as we are connected to the same port

    TCPClient.RemoteHost = "192.168.1.1"
    TCPClient.RemotePort = 25000
   TCPClient.Connect

But at the same time external programmer is broadcasting some messages on port 25001 , how can we listen to that port ( we don’t need to send data to this port only listen ) using the same winsock or there is any other method.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros