• 大小: 2.25M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-24
  • 语言: Java
  • 标签: zeroc    ICE    demo  

资源简介

ice rpc网络编程实例

资源截图

代码片段和文件信息

#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2013 ZeroC Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

import os sys shutil glob socket

def usage():
    print(“usage: “ + sys.argv[0] + “ [ip address]“)
    sys.exit(1)

debug = True
ipAddress = None
if len(sys.argv) == 2:
    ipAddress = sys.argv[1]

if not ipAddress:
    try:
        ipAddress = socket.gethostbyname(socket.gethostname())
    except:
        ipAddress = “127.0.0.1“

cwd = os.getcwd()
if not os.path.exists(“makewinrtcerts.py“) or os.path.basenam

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\
     文件        1113  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\CallbackSenderI.vb
     文件        2831  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\slice.csproj
     文件        1139  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\config.client
     文件        4571  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\client.vbproj
     文件         603  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\CallbackReceiverI.vb
     文件        3076  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\Client.vb
     文件         818  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\config.server
     文件         557  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\Callback.ice
     文件        4569  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\server.vbproj
     文件         323  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\README.txt
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\generated\
     文件        1223  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\callback\Server.vb
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\
     文件         478  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\Hello.ice
     文件        2953  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\slice.csproj
     文件         910  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\config.client
     文件        4475  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\client.vbproj
     文件        6931  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\Client.vb
     文件         949  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\config.server
     文件         878  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\HelloI.vb
     文件        4557  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\server.vbproj
     文件         701  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\README.txt
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\generated\
     文件        1185  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\hello\Server.vb
     目录           0  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\throughput\
     文件        3931  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\throughput\ThroughputI.vb
     文件        2837  2013-06-24 13:48  Ice-3.5.0-demos\demovb\Ice\throughput\slice.csproj
............此处省略2699个文件信息

评论

共有 条评论