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

📄 readme_vxblastee.txt

📁 vxworks下tcp通信的源代码例子server和client源代码
💻 TXT
字号:
FILE LIST -       vxBlastee.c  DESCRIPTION - 	     This is a server program which communicates with client through a 	     TCP socket. It allows to configure the maximum size of socket-level 	     receive buffer. It repeatedly reads a given size message from the client 	     and reports the number of bytes read every minute. It stops receiving 	     the message when the global variable blasteeStop is set to 1.  RUNNING DEMO - 	     Place the  vxBlastee.c file in your 	     <Tornado> dir. Depending on the target 	     you have, define the CPU in your compile line and use 	     the Makefile in the BSP dir. to compile.  	     To run this code invoke the function blastee().  TESTED ON -  Host/Target : Solaris 2.5.1 / mv1604 	     VxWorks     : 5.3.1  	     EXAMPLE COMPILE LINE -  			   make CPU=PPC604 vxBlastee.o  %  make CPU=PPC604 vxBlastee.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 vxBlastee.c  OUTPUTS/LOGFILE -  On VxWorks target: ==================  -> ld <vxBlastee.o value = 933240 = 0xe3d78 -> sp (blastee, 7000, 1000, 16000) task spawned: id = 5c7c50, name = u21 value = 6061136 = 0x5c7c50 

⌨️ 快捷键说明

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