void initListener()
 			{
          
    		   	SocketUtility.SocketListener socketListener = new SocketUtility.SocketListener(getIP(), getPort(), new AsyncCallback(beginAcceptCallback_forStartListening), this);
      	        socketListener.SocketStartListening();
  			}
Exemple #2
0
 static void initListener()
 {
     byte[] byteIP = {127, 0, 0, 1};
        SocketUtility.SocketListener socketListener = new SocketUtility.SocketListener(new IPAddress(byteIP), System.Convert.ToInt16 ("2335"), new AsyncCallback(beginAcceptCallback_forStartListening), null);
        socketListener.SocketStartListening();
 }