Example #1
0
        /// <summary>
        /// Re-initilize the IGB web server service.
        /// </summary>
        /// <param name="isPublic">Is publicly available</param>
        /// <param name="port">New TCP/IP port</param>
        public void Reset(bool isPublic, int port)
        {
            m_isPublic = isPublic;
            IgbServerPort = port;
            Stop();
            m_listener = null;

            CreateListener();
        }
Example #2
0
        /// <summary>
        /// Re-initilize the IGB web server service
        /// </summary>
        /// <param name="isPublic">Is publicly available</param>
        /// <param name="port">New TCP/IP port</param>
        public void Reset(bool isPublic, int port)
        {
            m_isPublic = isPublic;
            m_port     = port;
            Stop();
            m_listener = null;

            CreateListener();
        }
Example #3
0
 /// <summary>
 /// Creates the listener bound to an address and port, wires up the events.
 /// </summary>
 private void CreateListener()
 {
     m_listener = new IgbTcpListener(new IPEndPoint(AddressToBind(), IgbServerPort));
     m_listener.ClientConnected += OnClientConnected;
 }
Example #4
0
 /// <summary>
 /// Creates the listener bound to an address and port, wires up the events
 /// </summary>
 private void CreateListener()
 {
     m_listener = new IgbTcpListener(new IPEndPoint(AddressToBind(), m_port));
     m_listener.ClientConnected += new EventHandler <ClientConnectedEventArgs>(OnClientConnected);
 }
Example #5
0
 /// <summary>
 /// Creates the listener bound to an address and port, wires up the events
 /// </summary>
 private void CreateListener()
 {
     m_listener = new IgbTcpListener(new IPEndPoint(AddressToBind(), m_port));
     m_listener.ClientConnected += new EventHandler<ClientConnectedEventArgs>(OnClientConnected);
 }
Example #6
0
 /// <summary>
 /// Creates the listener bound to an address and port, wires up the events.
 /// </summary>
 private void CreateListener()
 {
     m_listener = new IgbTcpListener(new IPEndPoint(AddressToBind(), IgbServerPort));
     m_listener.ClientConnected += OnClientConnected;
 }