Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - create object
Search - create object - List
windows下串口同步通信的一个类,The files ASYNCH.H and ASYNCH.CPP are the actual source code to the asynchronous object class. The file SPDTERM.CPP is merely a sample test program to test the interrupt and some of the functions of the class. To compile, simply create a .PRJ file by loading up TC++, and create a project file with the items ASYNCH.CPP and SPDTERM.CPP. From command line, just make sure you link in the ASYNCH.OBJ with the SPDTERM.OBJ -windows Synchronous Serial Communication in a category, The files ASYNCH.H and ASYNCH.CPP are the actua l source code to the asynchronous object class. The file SPDTERM.CPP is merely a sample test pro gram to test the interrupt and some of the functi ons of the class. To compile, simply create a. PRJ file by loading up TC, and create a project file with the items ASYNCH. CPP and SPDTERM.CPP. From command line, just make sure you link in the ASYNCH.OBJ with th e SPDTERM.OBJ
Date : 2008-10-13 Size : 6.82kb User : 谭鸿

windows下串口同步通信的一个类,The files ASYNCH.H and ASYNCH.CPP are the actual source code to the asynchronous object class. The file SPDTERM.CPP is merely a sample test program to test the interrupt and some of the functions of the class. To compile, simply create a .PRJ file by loading up TC++, and create a project file with the items ASYNCH.CPP and SPDTERM.CPP. From command line, just make sure you link in the ASYNCH.OBJ with the SPDTERM.OBJ -windows Synchronous Serial Communication in a category, The files ASYNCH.H and ASYNCH.CPP are the actua l source code to the asynchronous object class. The file SPDTERM.CPP is merely a sample test pro gram to test the interrupt and some of the functi ons of the class. To compile, simply create a. PRJ file by loading up TC, and create a project file with the items ASYNCH. CPP and SPDTERM.CPP. From command line, just make sure you link in the ASYNCH.OBJ with th e SPDTERM.OBJ
Date : 2026-01-10 Size : 7kb User : 谭鸿

2个主机互相发送和接收数据,用DatagramSocket类另一个构造方法DatagramSocket(int port)创建一个对象。-2 host each other to send and receive data, use another constructor DatagramSocket Class DatagramSocket (int port) to create an object.
Date : 2026-01-10 Size : 2kb User : 朱振强

Create a simulator object set ns [new Simulator] #Define different colors for data flows (for NAM) $ns color 1 Blue $ns color 2 Red #Open the NAM trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #Close the NAM trace file close $nf #Execute NAM on the trace file exec nam out.nam & exit 0 } -Create a simulator object set ns [new Simulator] #Define different colors for data flows (for NAM) $ns color 1 Blue $ns color 2 Red #Open the NAM trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #Close the NAM trace file close $nf #Execute NAM on the trace file exec nam out.nam & exit 0 }
Date : 2026-01-10 Size : 1kb User : Ranjeet

1、首先需要定义的对象: SOCKET ReceivingSocket //接收端的Socket SOCKADDR_IN ReceiverAddr //接收端的地址信息 char ReceiveBuf[1024] //接收数据缓冲区大小 int BufLength //缓冲区长度 SOCKADDR_IN SenderAddr //发送数据端地址信息 int SenderAddrSize = sizeof(SenderAddr) //发送端地址信息的长度 2、启动WSA动态库: WSAStartup(MAKEWORD(2,2),&wsd) 3、创建socket: ReceivingSocket=socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP) 4、初始化服务器地址及监听端口 ReceiverAddr.sin_family=AF_INET //家族 ReceiverAddr.sin_port=htons(9000) //设置端口号 ReceiverAddr.sin_addr.s_addr=htonl(INADDR_ANY) //地址 5、绑定端口 6、接收数据: ReceivingSocket,//接收端Socket ReceiveBuf,//接收端用来存储数据的缓冲区 BufLength,//缓冲区的大小 0,//接收的附加选项,设置为0即可 (SOCKADDR*)&SenderAddr,//发送端的Socket地址 &SenderAddrSize//发送端Socket地址的大小 ) 7、关闭socket,关闭WSA,1, you first need to define the object: the SOCKET ReceivingSocket // the the receiving end Socket SOCKADDR_IN distant ReceiverAddr // the receiving end the address information char ReceiveBuf of [1024] /​ ​ / receive data buffer size int BufLength // buffer length SOCKADDR_IN distant SenderAddr // send data end address information int SenderAddrSize = sizeof (SenderAddr) // length of the address information of the sender, start WSA dynamic library: the WSAStartup (MAKEWORD (2,2), & wsd) 3, create socket: ReceivingSocket = socket ( AF_INET, SOCK_DGRAM, IPPROTO_UDP) initialize server address and listen port ReceiverAddr.sin_family = AF_INET //family ReceiverAddr.sin_port = htons (9000) //set port number ReceiverAddr.sin_addr.s_addr = htonl (INADDR_ANY) //address 5, binding port 6 the the receiver Data: ReceivingSocket,// ​ ​ receiving end the the Socket ReceiveBuf,// ​ ​ receiving end is used to store data buffer BufLength// buffer size 0,// ​
Date : 2026-01-10 Size : 4.98mb User : xiaoxiao

KYPHP框架-科亿PHP公益型框架,打造属于你的PHP框架,更快捷、更实用。KYPHP又名科亿PHP,是一种PHP框架,该框架严格尊守OOP和MVC的理念。将PHP控件化,如datalist控件的强化,既可以实现各种表格列表又可以实现形式的列表,可以控制有无页码,有无标题栏,这样就可以丰富的定义数据的列表形式,一个几乎可以完成一个网站的所有列表显示。科亿PHP框架的理念是完全控件化的PHP真正意义上的面向对向,方便实用,达到最简单化的运用PHP高效完成你的project。-KYPHP frame- Branch billion PHP framework for the public good, to create your own PHP framework, faster and more practical. KYPHP aka Branch billion PHP, is a PHP framework that strict observance of OOP and MVC concept. The control of PHP, such as enhanced datalist control, either to achieve a variety of forms and can be achieved in the form of a list of lists, you can control whether the page number, with or without the title bar, so that you can define a list of data-rich form of an almost complete a site displays all lists. Branch billion PHP framework' s philosophy is completely controls the true sense of the PHP object-oriented direction, convenient and practical, to achieve the most simplistic and efficient use PHP to complete your project.
Date : 2026-01-10 Size : 1.58mb User : 张三

here is code to create ole object through code in form 6i
Date : 2022-05-10 Size : 626byte User : safsfaisal@yahoo.com
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.