ssnp

所属分类:Windows编程
开发工具:Visual C++
文件大小:52KB
下载次数:169
上传日期:2003-09-05 22:08:53
上 传 者管理员
说明:  一个通过命名管道来进行通信的例子
(Of a named pipe to communicate examples of)

文件列表:
SSNP (0, 2003-08-19)
SSNP\MAKEFILE (462, 1995-09-05)
SSNP\SSNPRECV.MAK (5600, 1995-09-05)
SSNP\SSNPSEND.MAK (5600, 1995-09-05)
SSNP\Ssnprecv.cpp (1773, 2000-07-02)
SSNP\Ssnpsend.cpp (1843, 2000-07-02)
SSNP\SSNPRECV.001 (5600, 1995-09-05)
SSNP\SSNPRECV.DSP (3622, 2002-11-19)
SSNP\SSNPRECV.DSW (541, 2002-11-19)
SSNP\SSNPRECV.ncb (33792, 2002-11-19)
SSNP\SSNPRECV.PLG (1079, 2002-11-19)
SSNP\SSNPRECV.OPT (48640, 2002-11-19)
SSNP\SSNPSEND.001 (5600, 1995-09-05)
SSNP\SSNPSEND.DSP (3622, 2002-11-19)
SSNP\SSNPSEND.DSW (541, 2002-11-19)
SSNP\SSNPSEND.ncb (33792, 2002-11-19)
SSNP\SSNPSEND.PLG (1079, 2002-11-19)
SSNP\SSNPSEND.OPT (48640, 2002-11-19)
SSNP\WinRel (0, 2002-11-19)
SSNP\WinRel\SSNPRECV.exe (32256, 2002-11-19)
SSNP\WinRel\SSNPSEND.exe (34304, 2002-11-19)
SSNP\WinDebug (0, 2002-11-19)

This directory contains code that implements the simplest possible point-to-point named pipe connection. Run the receiver on any machine. Run the sender in a different window on the same machine and the two programs should connect. If you kill either the sender or the receiver, the other end should recognize the problem immediately. Now run the receiver again and then run the client from another machine. They should connect as well, provided that you are logged in under the same account name and password on both machines. If you are using a different account on the second machine, then the two programs will not connect because of security problems. See the IMPERSON directory in Chapter 10 to eliminate this problem. Use MAKEFILE to compile the program with the SDK. Use SSNPSEND.MAK and SSNPRECV.MAK and compile the two programs separately if you are using Visual C++.

近期下载者

相关文件


收藏者