I have a ServerSocket that I'm initializing with a Port and MaxumumSocketsConnected as below. However, after calling Listen(), the IsListening property is False. What might be the cause of this?
This issue is occurring on a Windows Server 2012 machine with firewall disabled for the app in question. I don't want to share the exact port number I'm using, but it is above 1024. There is no exception thrown.
MyServerSocket = New ServerSocket MyServerSocket.Port = 5555 MyServerSocket.MaxumumSocketsConnected = 20 MyServerSocket.Listen If MyServerSocket.IsListening Then MsgBox("MyServerSocket is listening") Else MsgBox("MyServerSocket is not listening") End