Project Name: Two_NIC_Server_BF537

Processor Type:
	ADSP-BF533 [ ]
	ADSP-BF537 [X]
	ADSP-BF561 [ ]
	
Hardware Used:
	ADSP-BF537 EZ-Kit Lite (ADDS-BF537-EZLITE)
	Blackfin USB-LAN EZ-Extender (ADZS-USBLAN-EZEXT)	

Example Overview:
	This example demostrates how to running two network interfaces simultaneously, one on ADSP-BF537 EZ-Kit and one on USB-LAN EZ-Extender. It provides four server services in four threads at the same time: web server, echo server, chargen server, and discard server. Each network interface supports two servers. 
	
File  Structure:
	The structure of the example is as follows:

	".\Two_NIC_grpbf537.dpg" -  Project group file
	
	".\libwebsvrbf537.dpj" -  Project file providing the web server library, whose source is in the directory ".\ws031202\"

	".\Two_NIC_Server_BF537.dpj" -  Main project file providing the main program, whose source is in ".\"

	".\Release" - a subdirectory containing a modified version of lwIP wrapper library "tcpip_wrapper-BF537.dlb" for two network interface support. The web server library that is to be generated by building the project "libwebsvrbf537.dpj" will be in this directory as well. 

Start the program:
	1)	As stated in the application note, use the project wizard of VisualDSP++ 4.5 to generate two TCP/IP application projects, one for each device. Test them separately to make sure they both could work correctly.
	
	2)	Open "Two_NIC_grpbf537.dpg" in the IDDE through  "File->Open->Project Group". It opens two projects "libwebsvrbf537.dpj" and "Two_NIC_Server_BF537.dpj".
		
	3)  	Build the project "libwebsvrbf537.dpj" first, and then build the Project "Two_NIC_Server_BF537.dpj".
		
	4)	Download and run the generated executable file "Two_NIC_Server_BF537.dxe". 

	5)	Read the IP addresses/ports of the four servers, which are printed in the Output Window of VisualDSP ++. 
		
	6) 	On PC, open web brower to test the web server at "http://xxx.xxx.xxx.xxx/blackfin.html", where xxx are the IP of the web server network interface.
	
	7) 	On PC, open "Command Window" and run "telnet" to try the other three servers, and watch the connection status of each server in the Output Window of the VisualDSP++.
		
		Chargen server continuously sends to the client the alphabet characters.
		
		Echo server echoes back to the client the same characters it receives from the client.
		
		Discard server accepts the data sent by the client, and simply discard them.
	
	

