Are there any fast way to learn Asynchronous socket tcp programming or are there any libraries available to utilize system.socket in a short amount of time?
My synchronous tcp client couldn’t hold the program I’m working on because it needs to listen for a long period of time (10 to 60 seconds), which of course doesn’t work in synchronous connection.
Thanks.
I finally got it to work. I stand corrected. It appears that an synchronous socket does work for listening for long period of time. The reason why my earlier attempt wasn’t working is because I’m using a
NetworkStream, but I found out that it’s possible to use a socket without aNetworkStream.Then use
socket.Sendandsocket.Receive