This creates my new socket object.Code:private Socket sckTCD = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
I'm able to send via the socket and also receive data.
But I can only receive data when I request it.
My app does not listen on a port for incoming requests.
Is this only possible via the TcpListener?
If so, how can I prevent the following:
My app is waiting for a connection and holds back all other procedures until someone has connected.Code:TcpClient myTcpClient = myTcpListener.AcceptTcpClient();
Any ideas?
thx!




Reply With Quote