⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_broadcastsend.txt

📁 vxworks 下的网络程序源码 包括
💻 TXT
字号:
FILE LIST -              broadcastSend.c  DESCRIPTION - 	     Demo for sending a broadcasting message.  RUNNING DEMO - 	     You need to set/change the value of the BROADCAST_ADDR constant to 	     your (subnet) network's broadcast inet address.  	     #define BROADCAST_ADDR   	     Run broadcastSend task on one VxWorks system as follows 	     after starting the broadcastGet task from another VxWorks system 	     in the same physical network. The other half of the demonstration 	     is in broadcastGet.c.  	     Port number should be greater than 5000 for user applications.   TESTED ON -  Host/Target : Solaris 2.5 / mv162 	     VxWorks     : 5.3.1  EXAMPLE COMPILE LINE - 	     make CPU=MC68040 broadcastSend.o  %  make CPU=MC68040 broadcastSend.o ccppc -B/petaluma1/mayur/tor101-ppc/host/sun4-solaris2/lib/gcc-lib/  -mstrict-align -ansi -nostdinc -O2 -fvolatile -fno-builtin -fno-for-scope  -Wall -I/h   -I. -I/petaluma1/mayur/tor101-ppc/target/config/all  -I/petaluma1/mayur/tor101-ppc/target/h  -I/petaluma1/mayur/tor101-ppc/target/src/config  -I/petaluma1/mayur/tor101-ppc/target/src/drv -DCPU=PPC604  -DMV1600  -DTARGET_DIR="\"mv1604\""   -c broadcastSend.c  OUTPUTS/LOGFILE -  On VxWorks target: ==================  -> ld <broadcastSend.o value = 730424 = 0xb2538 -> sp (broadcastSend,  7001) task spawned: id = 5d1ca0, name = u1 value = 6102176 = 0x5d1ca0  The output on the console window: =================================  etherOutput done - message: Hello World!!!  etherOutputDemo completed 17 bytes of broadcast message sent: Hello, world!!!  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -