使用ICS组件中的WSOCKET和Wsocketserver收发文件 为什么无法接受成功? [问题点数:50分]

Bbs1
本版专家分:0
结帖率 0%
Bbs5
本版专家分:2588
紧急求助,现场给分!ICS的WSocketServer1和WSocket进行通讯,如何用WSocketServer1返回信息给WSocket呀?WSocket又是如何接收?多谢!!
紧急求助,现场给分!ICS的WSocketServer1和WSocket进行通讯,如何用WSocketServer1返回信息给WSocket呀?WSocket又是如何接收?多谢!! 现在可以用Wsoc
新手求助,MFCsocket编程中遇到的问题
#include "stdafx.h" #include "resend.h" #include "resendDlg.h" #include "afxdialogex.h" #include <i
delphi的 ics使用例子,ftp客户端上传的例子。
关于delphi的 <em>ics</em>的<em>使用</em>例子。我现在想做个ftp服务器和。现在给大家一个例子 关于连接函数应该很简单,这是上传的代码,供大家参考。  FtpClient1.HostDirName := '/';  FtpClient1.Cwd;  FtpClient1.HostDirName :=dir;   if not FtpClient1.Cwd then   begin     
Delphi的ICS组件和THttpCli使用Demo
Delphi的ICS<em>组件</em>,版本OverbyteIcsV7Gold,Delphi7下的安装说明,THttpCli<em>使用</em>简单说明和Demo.zip
请教delphi下使用ICS里的WSocket和WSocketServer传递消息的demo
大家好,现在学习ICS,在网上很难找到ICS的教程,自带DEMO没有注释看不懂,请哪位好心人能给个实现以下功能的demo或代码:rn环境介绍:客户端程序含有WSocket,buttonA,服务端含有WSocketServer,buttonB,memo1;传送的消息有多个属性和属性值(比如:种类-西瓜,产地-中国,名字-石头瓜,等等);rn实现功能:点击buttonA后讲一组消息传送给服务端并按属性显示在memo1里(比如:种类 西瓜 #13#13 产地 中国 #13#13)。rnrn我的邮箱:530032539@qq.com.rnrn谢谢大家。
USB无线网卡配置ICS失败,你可以连接到SoftAP,但可能无法使用internet服务,
http://zhidao.baidu.com/link?url=RK4mEG9H7SEDTk566xFctYHa3B_8JP0BBLSL9TdkWFpgObqOnW6GCw6InGpSv4VJVRmMszN2PNrQmbSxuPTdY_
windows socket编程中send与recv函数的收发数据不一致问题
这几天在<em>使用</em>windows的socket编程去做<em>文件</em>的传输,发现这个windows下的socket编程也真和以前接触过的java和C#的有很多的不同,有异步的模型也有同步的模型,为了简单起见我还是<em>使用</em>了同步阻塞模型,没想到这个阻塞也还不是想象中的阻塞,以前<em>使用</em>send发送完数据后,recv就会把数据都接完,调试了很久,发现recv老是接收的数据比send的要少,上网查了一下,大概明白recv就是只
Windows ICS 服务无法启动问题解决
防火墙打不开肯定是"windows Firewall"服务没有启动。ICS服务启动不了可以通过以下方法解决: 1、找到本地连接,单击左键--属性--共享--勾选(√)--确定,如以上步骤不能开启ICS服务,则需进行如下操作 2、运行--输入“services.msc”--找到“internet connection services”--属性--依存关系(查询四个依存的服务是否启动,没启动的,
Outlook2016创建账户后无法发送和接收邮件的解决办法
今天重装了office,在配置QQ邮箱对应Outlook的时候,遇到两个比较麻烦的问题,这里分享给大家。 问题1:<em>使用</em>QQ密码<em>无法</em>登陆邮箱,提示503错误。 这里的原因是因为腾讯更改了邮件客户端的登录密码,需要<em>使用</em>邮箱自动随机生成的授权码才能登录,具体生成方式如下: 问题2:配置完成后,测试邮件也发送<em>成功</em>,但是在主界面点击发送/<em>接受</em>按钮后无任何响应,新建邮件后发件人处还需要选择,但下拉菜单
防火墙(windowsxp)ICS服务起动报错:找不到文件 解决办法
windows xp 防火墙服务启动报错解决办法:注册表修复<em>文件</em>
send和recv函数浅见
在弄完成端口时不得不面对这些问题,本来网络就是本瓶醋菜鸟,知道的东西很少,实际用起来真是有不少的阻力,拿书来看是来不及了,想找send和recv的源码,发现时dll和lib里的,经过一周的奋斗,对socket有点初步的了解了,先说一下个人浅见:在解释前首先做一下声明,不怀疑通信质量问题,也就是说只要是由相关硬件发给已连接的另一端的数据是一定可以到达另一端连接者的硬件的。下面:我认为se
php 生成ics文件
项目用到了,百度没找到相关的答案,后来在github上的gist找到了代码。 源码只支持生成一个事件的<em>ics</em>,我现在改成了支持生成多事件(支持传入多维数组)。
ICS的wsocket收发文件的问题
请问各位大虾,ICS的<em>wsocket</em>控件在发送或接收的时候都没有读或写流的方法,请问怎样来接收、发送<em>文件</em>,用sendStr吗?谢谢了!
ICS组件中WSocketServer与WSocketClient收到数据示例
偶然一次得知了ICS<em>组件</em>在DELPHI7的应用较为稳定,于是找到了ICS<em>组件</em>,安装完成后,试验了一下,还是不错的。源码贴于下: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graph<em>ics</em>, Controls, Forms, Dialogs, StdCtrls, ExtCtrls
ics(delphi组件
<em>ics</em> delphi <em>组件</em><em>ics</em> delphi <em>组件</em><em>ics</em> delphi <em>组件</em>
联想笔记本电脑蓝牙没有“发送文件”和“接受文件”选项的解决方法
今日不知是何原因联想笔记本自带的蓝牙显示驱动不存在,本想简单的安装一个联想官网蓝牙驱动能解决,可是结果却和想象不同。 驱动可以正常安装,并且可以正常在笔记本上显示出来正常接入的设备。 但是在右下角的蓝牙图标上点击鼠标右键却发现没有以前常用的“发送<em>文件</em>”和“接收<em>文件</em>”这两个选项。这以后岂不是没法<em>收发</em><em>文件</em>了,比较郁闷。 由于以前是有的,但是本次是驱动丢失重新安装了联想的蓝牙驱动之
Outlook中添加中国农历节日
Outlook中直接添加农历节日非常不方便, Google后找到解决办法如下:   一. <em>ics</em><em>文件</em>导入法推荐 下载如下农历日历: http://www.google.com/calendar/ical/china__zh_cn%40holiday.calendar.google.com/public/basic.<em>ics</em> 或: 我的网盘下载:http://www.brsbox.com/filebox/down/fc/63d219417fa8d79b1b5301e322bb0f2b 然后打开Outlook,使
有用过ICS的WSOCKET的吗?
我用ICS的WSOCKET发广播时,<em>为什么</em>不能侦听,当在ADDR中输入**255.255时,连接完成后侦听,就会出错。而用具体的地址就行?那怎样才能即能发广播又能自己侦听呢?
USB无线网卡配置ICS失败,你可以连接到SoftAP,但可能无法使用internet服务
USB无线网卡配置ICS失败,你可以连接到SoftAP,但可能<em>无法</em><em>使用</em>internet服务 标签: 网络共享 2014-07-04 14:07 4531人阅读 评论(0) 收藏 举报  分类: 网络共享 http://zhidao.baidu.com/link?url=RK4mEG9H7SEDTk566xFctYHa3B_8JP0BBLSL9TdkWFpg
ICS delphixe10源码版
ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 http://www.overbyte.be/ http://wiki.overbyte.be/ Table of content: ----------------- - Legal issues - Donate - Register - Contributions - Latest Versions - Version Control repository - Installation - Available VCL Components - Sample applications - About SSL - Support - Release notes - Midware - Known problems - Special thanks Legal issues: ------------- Copyright (C) 1997-2016 by Fran鏾is PIETTE Rue de Grady 24, 4053 Embourg, Belgium SSL implementation includes code written by Arno Garrels, Berlin, Germany, contact: ICS is freeware. This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented, you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 4. You must register this software by sending a picture postcard to the author. Use a nice stamp and mention your name, street address, EMail address and any comment you like to say. 5. As this code make use of OpenSSL, your rights are restricted by OpenSSL license as soon as you use any SSL feature. See http://www.openssl.org for details. Donate ------ ICS is freeware. You can use it without paying anything except the registration postcard (see "register" below). But of course donations are welcome. You can send cash (Euro currency or US Dollars) in an envelop to my street address or buy a gift certificate at Amazon in the UK. I will then use it to buy books. Here is the direct URL at Amazon UK (nearest to my home, please don't use another): http://www.amazon.co.uk/exec/obidos/gc-email-order1/ref=g_gc_email/202-6198323-6681414 For more generous amount, contact me by email. Register -------- ICS is freeware. If you use the components, you must register by sending a picture postcard showing the area you live in and some beautiful stamps for my kids who are stamp collectors. Do not use an envelop, I collect USED postcards sent to me. Write on the postcard that it is your ICS registration. Address your card to: Francois PIETTE, rue de Grady 24, 4053 Embourg, Belgium. Don't forget to mention your name, street address, EMail and web site. Contributions: -------------- ICS has been designed by Fran鏾is PIETTE but many other peoples are working on the components and sample programs. The history of changes in each source file list all developers having contributed (When no name is given, the change is by F. Piette). I can't list all contributors here but I want to specially thanks two specially active contributors: - Arno Garrels - Angus Robertson Latest versions: --------------- The latest versions of ICS can be downloaded from the ICS Wiki web site: http://wiki.overbyte.be/wiki/index.php/ICS_Download ICS V5 and V6 are archive releases no longer updated, last supported release was 2007. ICS V7 is a stable release that may still be updated for major bugs, but not for new releases of Delphi, latest it supported was XE3. ICS V8 is the current development release which is held in a public Version Control repository that is zipped each night for easy download. The download page above also includes the OpenSSL binaries needed to support SSL. ICS V8 supports Delphi 64-bit and Mac OS-X projects. Note that latest C++ Builder version supported is XE3 (lack of spare time, sorry). ICS V9 is in early development and is planned to support Android. There are no current plans for ICS for iOS. Version Control repository: --------------------------- svn://svn.overbyte.be/<em>ics</em> or http://svn.overbyte.be:8443/svn/<em>ics</em> (Usercode = <em>ics</em>, password = <em>ics</em>) Installation: ------------- ICS V8 has been designed for Embarcadero Delphi 2009 and up, and C++ Builder 2009 and up, but is fully compatible with Borland Delphi 7 and CodeGear 2006 and 2007. Embarcadero RAD Studio includes Delphi and C++ Builder. http://www.embarcadero.com/ With Delphi XE2 and later, VCL 64-bit Windows targets are supported for Delphi only. Currently FireMonkey is partly supported for Delphi only (there are still a few non-ported components). ICS for Mac OSX is currently experimental. The zip file has sub-directories in it. You must use the WinZip "Use folder names" option to restore this directory tree or you will have problems because the files would not be in their proper subdirectories. Please note most of these directories are differently named to ICS V7 and earlier, to ease support of multiple versions of Delphi and platforms, and to ease location of similar sample projects. Please don't install V8 over an existing V7 installation, it will be a mess of old and new. This is the new V8 sub-directory layout: .\ Info directory .\Install Component packages project groups for all versions .\Packages (was Delphi\Vc32) Delphi (7 and up) and C++Builder (2006 and up) packages projects .\Source (was Delphi\Vc32) ICS Delphi source code built into packages .\Source\Include (was Delphi\Vc32) .inc files (including OverbyteIcsDefs.inc) .\Source\Extras (was Delphi\Vc32) Extra source code not built into packages .\Source\zobj125 (was Delphi\Vc32) ZLIB C OBJ include files .\Lib Unit output directories for all package builds, subdirectories | for 2007+ will be created on building the packages \$(Config) Release / Debug | \$(Platform) Win32 / Win64 / OSX32 | \ D7..XE8, 10 Seattle includes .dcu and .dfm files for Delphi and .obj and .hpp files for C++ Builder .\Samples Delphi Win32/Win64 common source for all demos .\Samples\delphi\BroswerDemo Delphi Win32/Win64 Web Browser sample application (all Delphi versions) .\Samples\delphi\BroswerDemo\Resources Resource file, web pages and movie linked into browser demo .\Samples\delphi\FtpDemos Delphi Win32/Win64 FTP sample applications (all Delphi versions) .\Samples\delphi\MailNewsDemos Delphi Win32/Win64 SMTP, POP3, NNTP sample applications (all Delphi versions) .\Samples\delphi\MiscDemos Delphi Win32/Win64 Miscellaneous applications (all Delphi versions) .\Samples\delphi\OtherDemos Delphi Win32/Win64 DNS, Ping, SNMP, Syslog sample applications (all Delphi versions) .\Samples\delphi\PlatformDemos Delphi FireMonkey and cross-platform samples (Delphi XE2+) .\Samples\delphi\SocketDemos Delphi Win32/Win64 Socket sample applications (all Delphi versions) .\Samples\delphi\sslinternet Delphi Win32/Win64 SSL-enabled sample applications (all Delphi versions) .\Samples\delphi\WebDemos Delphi Win32/Win64 HTTP sample applications (all Delphi versions) .\Samples\delphi\WebDemos\WebAppServerData Directory for WebAppServ demo data files .\Samples\delphi\WebDemos\WebServData Directory for WebServ demo data files .\Samples\cpp\internet C++Builder sample applications .\Samples\cpp\internet\cb2006 C++Builder 2006 projects .\Samples\cpp\internet\cb2007 C++Builder 2007 projects .\Samples\cpp\internet\cb2009 C++Builder 2009 projects .\Samples\cpp\internet\cb2010 C++Builder 2010 projects .\Samples\cpp\internet\cbXE C++Builder XE projects .\Samples\cpp\internet\cbXE2 C++Builder XE2 projects UPGRADING and REINSTALLING Uninstall an existing ICS package (Menu | Component | Install Packages, select the component package and click Remove). Rename the old ICS directory and unzip to a new or empty directory, remove the old path from the library path and add either the new .\Source directory to the library path under Tools | Options |... or the appropriate .\Lib subdirectory according to version, ie .\Lib\Debug\Win32\D2007 for Delphi 2007. The latter has the advantage that the ICS source code won't be recompiled whenever your project is build. Also under Tools | Options |... add the new .\Source directory to the Browsing path. All DELPHI and C++ BUILDER VERSIONS/WIN32 Always upgrade your compiler with the latest update available from Embarcadero. Always update your system with http://windowsupdate.microsoft.com SSL or not SSL? By default the SSL code is compiled into the run-time package and additional SSL- enabled components are installed. In order to not compile the SSL code into the run-time package and to not install the SSL-Enabled components you need to remove the conditional define USE_SSL from both the run-time and design-time package. However if you do not build your applications with run-time packages it is recommended to build the packages with default settings. The SSL code will the be compiled into your applications depending on whether the conditional define USE_SSL is set in the project options or not (this requires having the .\Source directory in either in the library path or in projects Search path). Actual use of SSL in your applications also requires the OpenSSL files LIBEAY32.DLL and SSLEAY32.DLL being available somewhere in the path. Note different DLLs are needed for Win32 and Win64 applications. The ICS distribution includes the latest Win32 OpenSSL files in the .\OpenSSL-Win32 directory and the two main DLLs duplicated in .\Samples\delphi\sslinternet. Other OpenSSL files, including older and Win64, may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download INSTALLATION USING THE INSTALL PROJECT GROUPS For each Delphi and C++ Builder version one project group is provided in directory .\Install: Delphi 7 : D7Install.bpg Delphi 2006 : D2006Install.bdsgroup Delphi 2007 : D2007Install.groupproj Delphi 2009 : D2009Install.groupproj Delphi 2010 : D2010Install.groupproj Delphi XE : DXeInstall.groupproj Delphi XE2 : DXe2Install.groupproj // VCL only, no FireMonkey components Delphi XE2 : DXe2InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE3 : DXe3Install.groupproj // VCL only, no FireMonkey components Delphi XE3 : DXe3InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE4 : DXe4Install.groupproj // VCL only, no FireMonkey components Delphi XE4 : DXe4InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE5 : DXe5Install.groupproj // VCL only, no FireMonkey components Delphi XE5 : DXe5InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE6 : DXe6Install.groupproj // VCL only, no FireMonkey components Delphi XE6 : DXe6InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE7 : DXe7Install.groupproj // VCL only, no FireMonkey components Delphi XE7 : DXe7InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE8 : DXe8Install.groupproj // VCL only, no FireMonkey components Delphi XE8 : DXe8InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi 10 Seattle : D10SInstall.groupproj // VCL only, no FireMonkey components Delphi 10 Seattle : D10SInstallVclFmx.groupproj // Both VCL and FireMonkey components C++ Builder 2006 : CB2006Install.bdsgroup C++ Builder 2007 : CB2007Install.groupproj C++ Builder 2009 : CB2009Install.groupproj C++ Builder 2010 : CB2010Install.groupproj C++ Builder XE : CBXeInstall.groupproj C++ Builder XE2 : CBXe2Install.groupproj // VCL only no FireMonkey components C++ Builder XE2 : CBXe2InstallVclFmx.groupproj // Both VCL and FireMonkey components C++ Builder XE3 : CBXe3InstallVclFmx.groupproj // Both VCL and FireMonkey components 1 - Do a File/Open Project, navigate to the Install directory, select the correct file and open it. The project manager view should now display two package projects, one run-time and one design-time package. The run-time package name contains the "Run" suffix. The design-time package name contains the "Design" suffix. 2 - Select and Build the run-time package (do not install). 3 - Select and Install the design-time package. After a few seconds, you should have a dialog box telling you the package has been installed with a bunch of new components registered in the Tool Palette under "Overbyte ICS" and "Overbyte ICS SSL". Then do a "Save All" and a "Close All". 4 - One package is installed, called 'Overbyte ICS Design-Time Package for Delphi xxx'. 5 - Various directories under .\Samples\delphi\ include samples that illustrate use of all the ICS components, see later. FIREMONKEY CROSS PLATFORM PACKAGES: 1 - For XE2 and later, DXe?Install (where ? is the version) installs VCL components only, while DXe?InstallVclFmx also installs FireMonkey cross platform components (three run time packages). In order to use this feature first uninstall the old design-time package. 2 = Build all three run-time packages for all available platforms (32-bit and 64-bit Windows and Mac OS X) in the order they are listed in project manager. 3 - Next build and install the three design-time packages in the order they are listed in project manager. 4 - Three packages are installed, called: 'Overbyte ICS Common Design-Time Package for Delphi xxx' 'Overbyte ICS FMX Design-Time Package for Delphi xxx' 'Overbyte ICS VCL Design-Time Package for Delphi xxx' Note that the new packaging is still beta/alpha, both package names and included units might change in a future beta drop. The old VCL packages are still there however they do no longer support FireMonkey and of course only one set of packages can be installed in the IDE at the same time, if you want both VCL and FMX install DXe2InstallVclFmx.groupproj only. Currently the XE2 package cache is buggy and should be disabled by adding the -nocache parameter. 5 - The .\Samples\delphi\PlatformDemos\ folder contains FireMonkey sample projects that may all be built with FireMonkey for Mac OS X (and Windows). ALTERNATE INSTALLATION USING THE PACKAGE PROJECT FILES: For each Delphi and C++ Builder version two package project files exist in the .\Packages directory. One run-time and one design-time package project file. The run-time file name contains the "Run" suffix. The design-time file name contains the "Design" suffix. PACKAGE PROJECT FILE NAMES - VCL: Delphi 7 : OverbyteIcsD7Run.dpk, OverbyteIcsD7Design.dpk Delphi 2006 : OverbyteIcsD2006Run.bdsproj, OverbyteIcsD2006Design.bdsproj Delphi 2007 : OverbyteIcsD2007Run.dproj, OverbyteIcsD2007Design.dproj Delphi 2009 : OverbyteIcsD2009Run.dproj, OverbyteIcsD2009Design.dproj Delphi 2010 : OverbyteIcsD2010Run.dproj, OverbyteIcsD2010Design.dproj Delphi XE : OverbyteIcsDXeRun.dproj, OverbyteIcsDXeDesign.dproj Delphi XE2 : OverbyteIcsDXe2Run.dproj, OverbyteIcsDXe2Design.dproj Delphi XE3 : OverbyteIcsDXe3Run.dproj, OverbyteIcsDXe3Design.dproj Delphi XE4 : OverbyteIcsDXe4Run.dproj, OverbyteIcsDXe4Design.dproj Delphi XE5 : OverbyteIcsDXe5Run.dproj, OverbyteIcsDXe5Design.dproj Delphi XE6 : OverbyteIcsDXe6Run.dproj, OverbyteIcsDXe6Design.dproj Delphi XE7 : OverbyteIcsDXe7Run.dproj, OverbyteIcsDXe7Design.dproj Delphi XE8 : OverbyteIcsDXe8Run.dproj, OverbyteIcsDXe8Design.dproj Delphi 10 Seattle : OverbyteIcsD10SRun.dproj, OverbyteIcsD10SDesign.dproj C++ Builder 2006 : OverbyteIcsCB2006Run.bdsproj, OverbyteIcsCB2006Design.bdsproj C++ Builder 2007 : OverbyteIcsCB2007Run.cbproj, OverbyteIcsCB2007Design.cbproj C++ Builder 2009 : OverbyteIcsCB2009Run.cbproj, OverbyteIcsCB2009Design.cbproj C++ Builder 2010 : OverbyteIcsCB2010Run.cbproj, OverbyteIcsCB2010Design.cbproj C++ Builder XE : OverbyteIcsCBXeRun.cbproj, OverbyteIcsCBXeDesign.cbproj C++ Builder XE2 : OverbyteIcsCBXe2Run.cbproj, OverbyteIcsCBXe2Design.cbproj C++ Builder XE3 : OverbyteIcsCBXe3Run.cbproj, OverbyteIcsCBXe3Design.cbproj PACKAGE PROJECT FILE NAMES - FireMonkey and VCL: Delphi XE2 FMX/VCL : IcsCommonDXe2Run.dproj, IcsCommonDXe2Design.dproj Delphi XE2 VCL : IcsVclDXe2Run.dproj, IcsVclDXe2Design.dproj Delphi XE2 FMX : IcsFmxDXe2Run.dproj, IcsFmxDXe2Design.dproj Delphi XE3 FMX/VCL : IcsCommonDXe3Run.dproj, IcsCommonDXe3Design.dproj Delphi XE3 VCL : IcsVclDXe3Run.dproj, IcsVclDXe3Design.dproj Delphi XE3 FMX : IcsFmxDXe3Run.dproj, IcsFmxDXe3Design.dproj Delphi XE4 FMX/VCL : IcsCommonDXe4Run.dproj, IcsCommonDXe4Design.dproj Delphi XE4 VCL : IcsVclDXe4Run.dproj, IcsVclDXe4Design.dproj Delphi XE4 FMX : IcsFmxDXe4Run.dproj, IcsFmxDXe4Design.dproj Delphi XE5 FMX/VCL : IcsCommonDXe5Run.dproj, IcsCommonDXe5Design.dproj Delphi XE5 VCL : IcsVclDXe5Run.dproj, IcsVclDXe5Design.dproj Delphi XE5 FMX : IcsFmxDXe5Run.dproj, IcsFmxDXe5Design.dproj Delphi XE6 FMX/VCL : IcsCommonDXe6Run.dproj, IcsCommonDXe6Design.dproj Delphi XE6 VCL : IcsVclDXe6Run.dproj, IcsVclDXe6Design.dproj Delphi XE6 FMX : IcsFmxDXe6Run.dproj, IcsFmxDXe6Design.dproj Delphi XE7 FMX/VCL : IcsCommonDXe7Run.dproj, IcsCommonDXe7Design.dproj Delphi XE7 VCL : IcsVclDXe7Run.dproj, IcsVclDXe7Design.dproj Delphi XE7 FMX : IcsFmxDXe7Run.dproj, IcsFmxDXe7Design.dproj Delphi XE8 FMX/VCL : IcsCommonDXe8Run.dproj, IcsCommonDXe8Design.dproj Delphi XE8 VCL : IcsVclDXe8Run.dproj, IcsVclDXe8Design.dproj Delphi XE8 FMX : IcsFmxDXe8Run.dproj, IcsFmxDXe8Design.dproj Delphi 10 Seattle FMX/VCL: IcsCommonD10SRun.dproj, IcsCommonD10SDesign.dproj Delphi 10 Seattle VCL : IcsVclD10SRun.dproj, IcsVclD10SDesign.dproj Delphi 10 Seattle FMX : IcsFmxD10SRun.dproj, IcsFmxD10SDesign.dproj C++ Builder XE2 FMX/VCL : IcsCommonCBXe2Run.dproj, IcsCommonDXe2Design.dproj C++ Builder XE2 VCL : IcsVclCBXe2Run.dproj, IcsVclCBXe2Design.dproj C++ Builder XE2 FMX : IcsFmxCBXe2Run.dproj, IcsFmxCBXe2Design.dproj C++ Builder XE3 FMX/VCL : IcsCommonCBXe3Run.dproj, IcsCommonDXe3Design.dproj C++ Builder XE3 VCL : IcsVclCBXe3Run.dproj, IcsVclCBXe3Design.dproj C++ Builder XE3 FMX : IcsFmxCBXe3Run.dproj, IcsFmxCBXe3Design.dproj 1 - Open and Build the run-time package project (do not install!). 2 - Open and Install the design-time package project. (Do a File/Open Project, browse to the .\Packages directory. Select the correct file and open it. Then in the project manager view, right-click on the package, then click on either the Build or Install button.) 3 - For Delphi XE2 and later, a 64-bit run-time package can be built by changing the package target platform to 64-bit Windows. This has the same name as the 32-bit package, so a different package output directory needs to be specified in Tools / Options / Delphi Options for 64-bit Windows. After a few seconds, you should have a dialog box telling you the package has been installed with a bunch of new components registered in the Tool Palette under "Overbyte ICS" and "Overbyte ICS SSL". Then do a "Save All" and a "Close All". DELPHI 2006/WIN32, 2007/WIN32, 2009/WIN32, 2010/WIN32, XE/WIN32: Having installed the package, verify that the appropriate Win32 Library Path (Tools / Options / Delphi Options / Library - Win32 / Library Path) has been added, .\Lib subdirectory according to version, ie .\Lib\Debug\Win32\D2007 for Delphi 2007. If not, add it manually. It is not mandatory to add .\Lib to the global Delphi path, but it will be much easier for you because otherwise you'll have to add it to each project. DELPHI XE2/WIN32, XE3/WIN32, XE4/WIN32, XE5/WIN32, XE6/WIN32, XE7/WIN32, XE8/WIN32, 10 Seattle/WIN32, XE2/WIN64, XE3/WIN64, XE4/WIN64, XE5/WIN64, XE6/WIN64, XE7/WIN64, XE8/WIN64, 10 Seattle/WIN64: Similar to above, but the Library path is specified separately for 32-bit and 64-bit Windows Platforms. DELPHI 7: Add VC32 directory path to your library path (Tools menu / Environment Options / Library / Library Path. Add .\Lib\Debug\Win32\D7 path at the end of the existing path). SAMPLE DELPHI PROJECTS Once the package is installed, you may open the sample projects. The samples are split into several directories according to protocols, most with a project group that can be opened in all versions of Delphi. .\Samples\delphi\BroswerDemo .\Samples\delphi\FtpDemos\FtpDemos.bpg .\Samples\delphi\MailNewsDemos\MailNewsDemos.bpg .\Samples\delphi\MiscDemos\MiscDemos.bpg .\Samples\delphi\OtherDemos\OtherDemos.bpg .\Samples\delphi\PlatformDemos\XSamples.groupproj .\Samples\delphi\SocketDemos\SocketDemos.bpg .\Samples\delphi\sslinternet\SslDemos.bpg .\Samples\delphi\WebDemos\WebDemos.bpg Full details of the sample projects are shown later in this document. You might get some dialog box telling you that resource files are missing (they may not have been included in the zip file to save space) and are recreated by Delphi. It is OK. Any other error message is a problem you should fix. After all resource files have been recreated, you should see in the project manager a group of projects. To compile all samples in the group at once, do Project / Build all projects. This may take a few minutes. Note 1: Delphi may run out of memory if you ask to compile all projects at once. If you have not enough RAM, then compile each project individually. Note 2: Delphi has warnings which triggers a lot of messages for 100% OK code. You can turn those warnings off in the project/ options / Compiler messages and deselecting: "Deprecated symbol", "Platform symbol", "unsafe type", "unsafe code", "unsafe typecast". Those are intended for .NET and Linux portability. You can safely ignore them if you run windows. For you facility, I included a utility SetProjectOptions (source code, you must compile it) in the internet directory. This utility will update project options to disable the warnings. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. C++ BUILDER 2006, 2007, 2009, 2010, XE, XE2, XE3: Follow the installation procedure described for Delphi 2006. Just change the project group and package name: use CB2006, CBXe, etc, see above. You can't have Delphi 2006 and CBuilder 2006 packages installed at the same time in the IDE. So when switching from one to the other, be sure to remove the one you don't need. Building the FireMonkey CBXE2InstallVclFmx C++ packages for OSX may trigger an ILINK32 error, this is a bug in C++ Builder reported as QC #103668 the Win32 packages should build without errors. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. Projects are located in SAMPLES\CPP\INTERNET\CB2006\ (or CB2006, CBXE, etc) with a project group in each directory, OverbyteIcsCB2006Sam.bdsgroup, OverbyteIcsCBXe2Sam.groupproj, etc. It is likely that for each project, C++ Builder complains about a missing .res file. This is not a problem, C++ Builder will recreate it as needed. They have not been included to save space in the zip file. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. NOTES: - You may have an error message, using Delphi or C++ Builder complaining about Font.Charset, OldCreateOrder and other properties. Those are new properties in newer Delphi or C++ Builder versions, newer than the version you use. You can safely ignore those errors because those properties are not used by the components nor sample programs. You may encounter this error at run time. To avoid it, you must open each form at design time and ignore the error. Then recompile. If you don't ignore the error at design time, you'll have it at runtime ! - If you have Delphi or C++ Builder complaining about a file not found, add .\source directory to your library path. - If you are using C++ Builder you may encounter an error at link time such as "Unable to open file MWBCB30.LIB" (or other libs). This is a bug in C++ Builder. To solve it, you can edit project option file (right click in project manager) and remove any reference to the missing libraries. - Don't forget that the C++Builder components are located in .\delphi\vc32 which is object pascal source code (not a problem for C++Builder, just indicate that the *.pas files are displayed when installing). C++Builder will create the *.hpp files. There are some on-line help files in the VC32 directory. Available VCL Components ------------------------ - The following is a list of the files that should be installed in order to properly add all of the available components in this collection: > OverbyteIcsCharsetComboBox.pas Provides easy MIME charset selection > OverbyteIcsDnsQuery DNS lookup component - useful for getting MX records > OverbyteIcsDprUpdFix.pas IDE plugin for Delphi 2009 and 2010 to update old projects > OverbyteIcsEmulVT.pas ANSI terminal emulation in a control > OverbyteIcsFingCli.pas FINGER client protocol - Find information about user > OverbyteIcsFtpCli.pas FTP client protocol - file transfer > OverbyteIcsFtpSrv.pas FTP server protocol - file transfer > OverbyteIcsFtpSrvT.pas FTP server protocol - helpers > OverbyteIcsHttpAppServer.pas HTTP server protocol - used to build advanced web servers > OverbyteIcsHttpProt.pas HTTP client protocol - used by the web > OverbyteIcsHttpSrv.pas HTTP server protocol - used to build web servers > OverbyteIcsLogger.pas A component to log information > OverbyteIcsMimeDec.pas MIME component - decode file attach, use with POP3 > OverbyteIcsMultiProgressBar.pas A segmented progress bar > OverbyteIcsMultipartFtpDownloader.pas FTP client protocol - download one file using simultaneous connections to speedup download > OverbyteIcsMultipartHttpDownloader.pas HTTP client protocol - download one file using simultaneous connections to speedup download > OverbyteIcsNntpCli.pas NNTP client protocol - send and receive newsgroups messages > OverbyteIcsPing.pas ICMP echo protocol - ping a host > OverbyteIcsPop3Prot.pas POP3 client protocol - get mail from mail server > OverbyteIcsReg.pas Register design components > OverbyteIcsSmtpProt.pas SMTP client protocol - send mail to server > OverbyteIcsSmtpSrv.pas SMTP server protocol - receive mail from client > OverbyteIcsSnmpCli.pas SNMP client protocol - network management > OverbyteIcsSnmpMsgs.pas SNMP client protocol - message helper > OverbyteIcsSysLogClient.pas Syslog Client Protocol - receive syslog messages > OverbyteIcsSysLogDefs.pas Syslog Protocol - helpers > OverbyteIcsSysLogServer.pas Syslog Server Protocol - send syslog messages > OverbyteIcsTnCnx.pas TELNET client protocol - terminal emulation protocol > OverbyteIcsTnEmulVT.pas TELNET and ANSI terminal emulation combined > OverbyteIcsTnOptFrm.pas TELNET Client configuration form > OverbyteIcsTnScript.pas TELNET client protocol - with automation > OverbyteIcsWSocket.pas Winsock component - TCP, UDP, DNS,... > OverbyteIcsWSocketE.pas Register procedure and property editor for TWSocket > OverbyteIcsWSocketS.pas Winsock component for building servers > OverbyteIcsWSocketTS.pas Winsock component for building multithreaded servers - The following list support and utilities units: > OverbyteIcsAsn1Utils.pas ASN1 utilities (for TSnmpClient component) > OverbyteIcsAvlTrees.pas Implements a fast cache-like data storage > OverbyteIcsCharsetUtils.pas MIME-charset functions > OverbyteIcsCookies.pas Client Cookie Handling > OverbyteIcsCRC.pas 32 bit CRC computation > OverbyteIcsCsc.pas character set routines > OverbyteIcsDES.pas Implementation of the Data Encryption Standard (DES) > OverbyteIcsDigestAuth.pas HTTP Digest Access Authentication > OverbyteIcsFormDataDecoder.pas Decode a MIME data block as generated by a HTML form > OverbyteIcsHttpCCodZLib.pas Supports GZIP coding for HttpContCod > OverbyteIcsHttpContCod.pas HTTP Content Coding support, uses extra units > OverbyteIcsIcmp.pas ICMP protocol support, used by the PING component > OverbyteIcsIconv.pas Headers for iconv library (LGPL) > OverbyteIcsLIBEAY.pas Delphi encapsulation for LIBEAY32.DLL (OpenSSL) > OverbyteIcsMD4.pas Implementation of the MD4 Message-Digest Algorithm > OverbyteIcsMD5.pas Implementation of the MD5 Message-Digest Algorithm > OverbyteIcsMimeUtil.pas Support routines for MIME standard > OverbyteIcsMLang.pas A few header translations from MS mlang.h > OverbyteIcsNtlmMsgs.pas Client NTLM authentification messages used within HTTP protocol > OverbyteIcsNtlmSsp.pas Server NTLM authentification of user credentials using Windows SSPI > OverbyteIcsOneTimePw.pas One Time Password support functions, used by FTP > OverbyteIcsSHA1.pas Implementation of US Secure Hash Algorithm 1 (SHA1) > OverbyteIcsSocketUtils.pas Cross platform socket utilities for ICS > OverbyteIcsSSLEAY.pas Delphi encapsulation for SSLEAY32.DLL (OpenSSL) > OverbyteIcsSslSessionCache.pas A very fast external SSL-session-cache component > OverbyteIcsSslThrdLock.pas Implementation of OpenSsl thread locking (Windows); > OverbyteIcsSspi.pas A few header translations from MS sspi.h and security.h > OverbyteIcsStreams.pas Fast streams for ICS > OverbyteIcsThreadTimer.pas A custom timer class using custom timer messages from one or more threads > OverbyteIcsTicks64.pas GetTickCount64 support for all versions of Windows > OverbyteIcsTimeList.pas List of items with expiry times, used for WebSessions > OverbyteIcsTypes.pas Common types, mainly for backward compiler compatibility > OverbyteIcsURL.pas Support routines for URL handling > OverbyteIcsUtils.pas Vast number of common utilities, many supporting Unicode for D7/2007 > OverbyteIcsWSockBuf.pas FIFO buffers for TWSocket > OverbyteIcsWebSession.pas Web session support for THttpAppSrv and MidWare > OverbyteIcsWinnls.pas A few header translations for Unicode Normalization in winnls.h > OverbyteIcsWinsock.pas Some Winsock initialisations > OverbyteIcsWndControl.pas A class that encapsulates a windows message queue and a message map > OverbyteIcsZLibDll.pas Zlib support, interface to external zlib.dll functions > OverbyteIcsZlibHigh.pas Zlib support, high level interface for compression and decompression > OverbyteIcsZLibObj.pas Zlib support, interface to zlib linked C OBJ functions FireMonkey Cross Platform Support: ---------------------------------- For Delphi and C++ Builder XE2 and later, FireMonkey Desktop applications are an alternate to VCL Forms applications, supporting cross platforms of Windows 32-bit and 64-bit and Mac OS X (and perhaps other platforms in future). FireMonkey uses different visual components to VCL, while some non-visual components can be used for both VCL and FMX projects, while other components need special versions, such as ICS. Earlier betas of V8 used the conditional define "FMX" which is *no longer required in project options. Instead in your existing ICS FireMonkey app. add either "Ics.Fmx" to the unit scope names in project options or apply the following changes in the uses clause, rename: OverbyteIcsWndControl -> Ics.Fmx.OverbyteIcsWndControl OverbyteIcsWSocket -> Ics.Fmx.OverbyteIcsWSocket OverbyteIcsFtpCli -> Ics.Fmx.OverbyteIcsFtpCli OverbyteIcsFtpSrv -> Ics.Fmx.OverbyteIcsFtpSrv OverbyteIcsHttpProt -> Ics.Fmx.OverbyteIcsHttpProt OverbyteIcsWSocketS -> Ics.Fmx.OverbyteIcsWSocketS OverbyteIcsSmtpProt -> Ics.Fmx.OverbyteIcsSmtpProt.pas OverbyteIcsPop3Prot -> Ics.Fmx.OverbyteIcsPop3Prot.pas OverbyteIcsNntpCli -> Ics.Fmx.OverbyteIcsNntpCli.pas OverbyteIcsPing -> Ics.Fmx.OverbyteIcsPing.pas OverbyteIcsDnsQuery -> Ics.Fmx.OverbyteIcsDnsQuery.pas OverbyteIcsFingCli -> Ics.Fmx.OverbyteIcsFingCli.pas OverbyteIcsSslSessionCache -> Ics.Fmx.OverbyteIcsSslSessionCache.pas OverbyteIcsSslThrdLock -> Ics.Fmx.OverbyteIcsSslThrdLock.pas OverbyteIcsHttpSrv -> Ics.Fmx.OverbyteIcsHttpSrv.pas OverbyteIcsSocketUtils -> Ics.Fmx.OverbyteIcsSocketUtils.pas OverbyteIcsMultipartFtpDownloader -> Ics.Fmx.OverbyteIcsMultipartFtpDownloader.pas OverbyteIcsMultipartHttpDownloader -> Ics.Fmx.OverbyteIcsMultipartHttpDownloader.pas OverbyteIcsHttpAppServer -> Ics.Fmx.OverbyteIcsHttpAppServer.pas OverbyteIcsThreadTimer -> Ics.Fmx.OverbyteIcsThreadTimer.pas OverbyteIcsCharsetComboBox -> Ics.Fmx.OverbyteIcsCharsetComboBox.pas { Demo units } OverbyteIcsWebAppServerCounter -> Ics.Fmx.OverbyteIcsWebAppServerCounter OverbyteIcsWebAppServerMailer -> Ics.Fmx.OverbyteIcsWebAppServerMailer The list above is also the list of units that now have different names in the FireMonkey framework however most of them share the same source file. Dropping a ICS component on the form will add the correct unit name for each framework automatically (don't forget to disable the package cache as described above). Unit OverbyteIcsLibrary.pas has been *deprecated* and ICS IPv8 doesn't use it anymore. If you used it in your own code read the comment in OverbyteIcsLibrary.pas, search for "deprecated". Sample applications: -------------------- With V8, the sample applications are now grouped into directories according to general functionality, to make it easier to compare related samples. Many samples are similar. When searching for something, always look at the date the demos where created. The most recent is always the best code! In the lists below, ACTIVE!! indicates applications that are actively maintained to test and support new functionality in the ICS components. These may not be simplest samples, but are usually the first to try when learning about a component. Delphi Win32/Win64 Web Browser sample application ------------------------------------------------- .\Samples\delphi\BroswerDemo > FrameBrowserIcs.dpr Web Browser using HtmlViewer component - ACTIVE!! Note this sample needs HtmlViewer component installed Delphi Win32/Win64 FTP sample applications ------------------------------------------ .\Samples\delphi\FtpDemos\FtpDemos.bpg - Project group > OverbyteIcsBasFtp.dpr Basic FTP client program > OverbyteIcsConFtp.dpr Basic console mode FTP client > OverbyteIcsFtpAsy.dpr Example of asynchronous FTP client > OverbyteIcsFtpMulti.dpr Demo to do several FTP downloads in parallel to get a list of files > OverbyteIcsFtpMultipartDownload.dpr Demo to FTP download a single large file in several parts in parallel > OverbyteIcsFtpServ.dpr General purpose FTP server, uses TSocketServer - ACTIVE!! > OverbyteIcsFtpThrd.dpr Demo of multithreaded FTP client, see also FTPASY > OverbyteIcsFtpTst.dpr Basic graphical FTP client - ACTIVE!! Delphi Win32/Win64 SMTP, POP3, NNTP sample applications ------------------------------------------------------- .\Samples\delphi\MailNewsDemos\MailNewsDemos.bpg - Project group > OverbyteIcsBasNntp.dpr Basic NNTP client program > OverbyteIcsConPop3.dpr Basic console mode demo for POP3 (mail receive) > OverbyteIcsConSmtp.dpr Basic console mode demo for SMTP (mail send) > OverbyteIcsMailHtml.dpr Example of HTML formatted EMail sending, including embedded images - ACTIVE!! > OverbyteIcsMailRcv.dpr Internet EMail access using POP3 protocol - ACTIVE!! > OverbyteIcsMailSnd.dpr Example of EMail sending using SMTP, including file attach - ACTIVE!! > OverbyteIcsMailSndAsync.dpr Example of parallel EMail sending with multiple connections > OverbyteIcsMimeDemo.dpr Example of EMail decoding (attached files are extracted) - ACTIVE!! > OverbyteIcsNewsReader.dpr Example of TNntpCli component (Send/receive newsgroups) - ACTIVE!! > OverbyteIcsSmtpServer.dpr Internet EMail server using SMTP protocol - ACTIVE!! Delphi Win32/Win64 Miscellaneous applications --------------------------------------------- .\Samples\delphi\MiscDemos\MiscDemos.bpg - Project group > OverbyteIcsBufStrmTst.dpr Test of buffered stream classes > OverbyteIcsCacheTest.dpr Test of TCacheTree class used in TSslAvlSessionCache > OverbyteIcsMD4Test.dpr Test program for MD4 unit > OverbyteIcsMD5File.dpr Example of MD5 unit: computer MD5 checksum for files > OverbyteIcsMD5Test.dpr Test program for MD5 unit > OverbyteIcsOneTimePassword.dpr One Time Password test routines for OverByteIcsOneTimePw unit > OverbyteIcsSHA1Test.dpr Test program for SHA unit > OverbyteIcsThreadTimerDemo.dpr Demo for TIcsThreadTimer > OverbyteIcsTicks64Demo.dpr GetTickCount64 test routines for OverbyteIcsTicks64 unit > OverbyteIcsTimerDemo.dpr Very simple demo for TIcsTimer > OverByteIcsWndControlTest.dpr Test program for windows and threads Delphi Win32/Win64 DNS, Ping, SNMP, Syslog sample applications -------------------------------------------------------------- .\Samples\delphi\OtherDemos\OtherDemos.bpg - Project group > OverbyteIcsBatchDnsLookup.dpr Batch async DNS lookup using DnsLookup (IPv6 and IPv4) > OverbyteIcsConPing.dpr Basic console mode demo for ping component > OverbyteIcsDll1.dpr Demo showing how to use a TWSocket component in a DLL > OverbyteIcsDll2.dpr Demo showing how to use a THttpCli component in a DLL > OverbyteIcsDllTst.dpr Test program calling ICSDLL1 and ICSDLL2 > OverbyteIcsDnsLook.dpr Example of name resolution (IPv6 and IPv4) > OverbyteIcsDnsResolver.dpr Batch async DNS lookup event driven using DnsQuery > OverbyteIcsFinger.dpr Example of TFingerCli component > OverbyteIcsNsLookup.dpr Demo for the DnsQuery component > OverbyteIcsPingTst.dpr Demo for the ping component, includes trace route > OverbyteIcsSnmpCliTst.dpr Demo for SNMP (simple network management protocol) component > OverbyteIcsSysLogClientDemo.dpr Demo for SysLog client component > OverbyteIcsSysLogServerDemo.dpr Demo for SysLog server component Delphi FireMonkey cross-platform samples (Delphi XE2 and later) --------------------------------------------------------------- All these samples may be built for Mac OS X (and Windows). .\Samples\delphi\PlatformDemos\XSamples.groupproj > IcsCliDemo.dproj Example of client for SRVDEMO, IPV4 only > IcsTcpSrvIPv6.dproj Basic server without client forms, event-driven, IPv4/IPV6 > IcsConSmtp.dproj Basic console mode demo for SMTP (mail send) > IcsMailSnd.dproj Example of EMail sending using SMTP, including file attach > IcsMailRcv.dproj Internet EMail access using POP3 protocol > IcsHttpsTst.dproj Example of THttpCli component (GET), show many features > IcsWebServ.dproj Demo of HTTP server, uses TSocketServer > IcsWebAppServ.dproj Advanced HTTP server demo, uses WebServ, adds sessions > IcsFtpTst.dproj Basic graphical FTP client > IcsFtpServ.dproj General purpose FTP server, uses TSocketServer > IcsUdpLstn.dproj UDP listen demo > IcsUdpSend.dproj UDP send demo > IcsBatchDnsLookup.dproj Batch async DNS lookup using DnsLookup (IPv6 and IPv4) > IcsDll1.dproj Demo showing how to use a TWSocket component in a DLL > IcsDll2.dproj Demo showing how to use a THttpCli component in a DLL > IcsDllTst.dproj Test program calling ICSDLL1 and ICSDLL2 > IcsThreadTimerDemo.dproj Very simple demo for TIcsTimer Delphi Win32/Win64 Socket sample applications --------------------------------------------- .\Samples\delphi\SocketDemos\SocketDemos.bpg - Project group > OverbyteIcsBinCliDemo.dpr Client program to receive binary and delimited text data. Works with BinTcpSrv demo. > OverbyteIcsCliDemo.dpr Example of client for SRVDEMO, IPV4 only - ACTIVE!! > OverbyteIcsClient5.dpr Basic client GUI applications > OverbyteIcsClient7.dpr Simple client application demonstrating TWSocket > OverbyteIcsConCli1.dpr Basic client/server console applications > OverbyteIcsConCli2.dpr Basic client/server console applications with thread > OverbyteIcsConSrv1.dpr Basic server application in console mode > OverbyteIcsConUdpLstn.dpr Console application to listen for UDP messages > OverbyteIcsDynCli.dpr Demo of dynamically created TWSocket components > OverbyteIcsMtSrv.dpr Basic server, multi-threaded, see THRDSRV for better code > OverbyteIcsRecv.dpr Simple file receive (server), use with SENDER demo (client) > OverbyteIcsSender.dpr Simple file send (client), use with RECV demo (server) > OverbyteIcsServer5.dpr Basic server GUI applications > OverbyteIcsSocksTst.dpr How to use TWSocket with SOCKS protocol (firewall traversing) > OverbyteIcsSrvDemo.dpr Example of server using a TTable - ACTIVE!! > OverbyteIcsSrvTcp.dpr Basic server without client forms, event-driven > OverbyteIcsSvcTcp.dpr Same as SRVTCP but as an NT/2K/XP service > OverbyteIcsTWSChat.dpr Chat program (both client and server in a single program) > OverbyteIcsTcpSrv.dpr Basic server without client forms, event-driven, IPv4 only - ACTIVE!! > OverbyteIcsTcpSrvIPv6.dpr Basic server without client forms, event-driven, IPv4/IPV6 - ACTIVE!! > OverbyteIcsTelnetClient.dpr Telnet client using a TnEmulVT > OverbyteIcsThrdSrv.dpr Basic multithreaded TCP server, banner sent in main thread > OverbyteIcsThrdSrvV2.dpr Basic multithreaded TCP server, banner sent in worker thread > OverbyteIcsThrdSrvV3.dpr Basic TCP server showing how to use TWSocketThrdServer > OverbyteIcsTnDemo.dpr Telnet client using a TMemo > OverbyteIcsTnSrv.dpr Basic TCP server with client forms, event-driven > OverbyteIcsUdpLstn.dpr UDP listen demo > OverbyteIcsUdpSend.dpr UDP send demo Delphi Win32/Win64 SSL-enabled sample applications -------------------------------------------------- .\Samples\delphi\sslinternet\SslDemos.bpg - Project group > OverbyteIcsHttpsTst.dpr Example of TSslHttpCli component (GET) - ACTIVE!! > OverbyteIcsPemTool.dpr ICS Pem Certificate Tool - Create and import certificates in OpenSLL PEM format > OverbyteIcsSimpleSslCli.dpr Example of simple SSL client using TSslWSocket - ACTIVE!! > OverbyteIcsSimpleSslServer.dpr Example of SSL server using TSslWSocket - ACTIVE!! > OverbyteIcsSslFtpServ.dpr General purpose FTP SSL server, uses TSocketServer - ACTIVE!! > OverbyteIcsSslFtpTst.dpr Basic graphical FTP SSL client - ACTIVE!! > OverbyteIcsSslMailRcv.dpr Internet EMail access using POP3 protocol and SSL - ACTIVE!! > OverbyteIcsSslMailSnd.dpr Example of EMail sending using SMTP and SSL - ACTIVE!! > OverbyteIcsSslNewsRdr.dpr Example of TSslNntpCli component (Send/receive newsgroups) - ACTIVE!! > OverbyteIcsMsVerify.dpr Verify and show an OpenSSL certificate or certificate chain using class TMsCertChainEngine which uses MS crypto API - ACTIVE!! > OverbyteIcsSslSniSrv.dpr Test of Server Name Indication (SNI) in server mode - ACTIVE!! > OverbyteIcsSslWebServ.dpr Demo of HTTPS server, uses TSocketServer - ACTIVE!! > OverbyteIcsSslWebAppServer.dpr Advanced HTTPS server demo, uses WebServ, adds sessions - ACTIVE!! > OverbyteIcsSslSmtpServer.dpr Internet EMail server using SMTP protocol and SSL - ACTIVE!! Delphi Win32/Win64 HTTP sample applications ------------------------------------------- .\Samples\delphi\WebDemos\WebDemos.bpg - Project group > OverbyteIcsConHttp.dpr Basic console mode HTTP client > OverbyteIcsHttpAsp.dpr Example of THttpCli component with cookie (POST to an ASP page) > OverbyteIcsHttpAsy.dpr Example of THttpCli component with multiple async requests (GET) > OverbyteIcsHttpChk.dpr Example of THttpCli to check for valid URL using HEAD request > OverbyteIcsHttpDmo.dpr Simple HTTP client demo with proxy > OverbyteIcsHttpGet.dpr Example of THttpCli component (GET into a file) > OverbyteIcsHttpMultipartDownload.dpr Demo application for TMultipartHttpDownloader to download files using simultaneous connections > OverbyteIcsHttpPg.dpr Example of THttpCli component (POST to CGI script) > OverbyteIcsHttpPost.dpr Example of THttpCli component (POST), work with WebServ sample - ACTIVE!! > OverbyteIcsHttpThrd.dpr Example of THttpCli component (multi-threaded GET) > OverbyteIcsHttpTst.dpr Example of THttpCli component (GET), show many features - ACTIVE!! > OverbyteIcsIsapi.dll Example of FTP client component within an ISAPI extension > OverbyteIcsWebAppServer.dpr Advanced HTTP server demo, uses WebServ, adds sessions - ACTIVE!! > OverbyteIcsWebServ.dpr Demo of HTTP server, uses TSocketServer - ACTIVE!! Two samples are not in the project group since they need extra components installed > OverbyteIcsRestDemo.drp Demo program showing how to use REST API from Google and Yahoo > OverbyteIcsRestJsonDemo.drp Demo program showing how to use REST API from Google Search and JSON Sample Notes ------------ Note 1: Not all samples have been rewritten in C++ for C++ Builder. And those rewritten are frequently much simpler. So C++ Builder user: have a look at the Delphi sample too ! Note 2: Follow "UserMade" link on ICS web site to find more sample programs written by ICS users. As explained in the component installation, you may encounter an error loading a sample application or running it. This may be because the last time I loaded the form, I was using another Delphi or C++ Builder version which has new properties. You can safely ignore messages related to those new properties. They are not used in the samples. (The properties are CharSet, OldCreateOrder and others). You can also encounter error about duplicate resources. You can ignore them safely. If you have those errors, open each form in the IDE, ignore the error then recompile. If you don't open the form in the IDE, you'll get the errors at runtime and your program will abort. When installing a new version, always delete old dcu, obj, dcpil and always recompile everything ! Close everything before recompiling the library or packages. When installing a new version, be sure to unzip it in the same directory tree as the old one or you'll mess both versions. About SSL: ---------- TSslWSocket and TSslWSocketServer component are derived from the standard TWSocket and TWSocketServer component. The SSL code is compiled into the component only if you define USE_SSL symbol to your packages and projects. Just add USE_SSL to the defines in the project or package options and recompile everything. The components make use of LIBEAY32.DLL and SSLEAY32.DLL to handle SSL protocol stuff. The DLLs are dynamically loaded at runtime. It means that the DLLs will only be required at runtime when you first make use of a SSL function. Your applications will run on systems without OpenSSL DLLs as long as you don't call any SSL function. The files may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download Most ICS components have their SSL enabled counter part. They work exactly the same way as the regular component except when SSL specific stuff is needed, for example certificates. To support SSL stuff, the SSL-enabled version use some new properties, events and methods. Many sample programs have their SSL-enabled counter part in a separate sources located in SslInternet folder. SSL certificates: To make use of SSL, you frequently need certificates. I provide some demo certificates I built using command line OpenSSL tool. PEM certificates can be opened by a text editor, LF as well as CRLF are allowed as line breaks. CACERT.PEM : A demo certificate for "Example CA" 01CERT.PEM : A demo certificate which is signed by CACERT.PEM 01KEY.PEM : A demo private key for 01CERT.PEM Passphrase is "password". CLIENT.PEM : A demo certificate and private key. Passphrase is "password". SERVER.PEM : A demo certificate and private key. Passphrase is "password". ROOT.PEM : A demo CA certificate. Passphrase is "password". TRUSTEDCABUNDLE.PEM : A demo CA file in PEM format containing multiple well known root CA certificates to be specified in property CA Path of the demo applications. Read the comments included in this file. 6F6359FC.0 : Located in sub directory SslInternet\TrustedCaStore, it's the file CACERT.PEM stored with a hashed file name. Directory TrustedCaStore can be specified in property CA Path of the demo applications. For details about certificate, see the excellent book: "Network security with OpenSSL", O'Reilly, ISBN 10: 0-596-00270-X The SSL demo project OverbyteIcsPemTool may be used to create self signed PEM certificates, certificate requests for commercial use, to convert existing certificates in the Windows Certificate Store to PEM format understood by OpenSSL and to examine PEM certificates. You will find more information in IcsSslHowTo.txt file. Commercial SSL certificates: To avoid browsers giving certificate warning messages, you need to purchase a SSL certificate from one of numerous companies, such as Verisign, Thawte GeoTrust or RapidSSL. Prices vary dramatically and are often cheaper from resellers such as Servertastic than from the main issuing companies. The main purpose of an SSL certificate is to prove the identity of the owner of a web site, ideally the company behind the web site. That usually requires paper work identifying the company is submitted and also proof the domain being protected is owned by that company, it usually also involves telephone calls. Such certificates are usually called fully validated and cost $120 or more each year for a single domain, ie secure.website.com. Wild card certificates cost $350 or more, but protect multiple sub-domains, ie web.website.com as well. Extended Validation certificates cost from $450 a year, and show the company name in green in the address bar. For testing and simple use, instant issued SSL certificates cost from $15 per year and protect a single domain only with automated checking reducing the cost (an email to admin@website.com to prove you receive email for the domain, perhaps a telephone call as well). Note these instant certificates do not include a company name. To buy and install an SSL certificate for use with ICS and OpenSSL follow these steps: 1 - Build the SSL demo project OverbyteIcsPemTool. Take Extras, Create Certificate Requests, fill in the various fields (check other certificates if uncertain, the Common Name is the domain to protect, ie secure.website.com and E-Mail should be an email address at the than domain, ideally admin or administrator, 2048 bits. Click Create, and specify two file names, first for the private key (mykey.pem) then the certificate request file (myreq.pem). The request can also be done using OpenSSL command line arguments, or you can build it into your own application. 2 - Choose you SSL supplier and certificate type, at some point during the ordering process you will be asked for the certificate request, so open the PEM file you saved with a text editor and copy the base64 encoded block starting -BEGIN CERTIFICATE REQUEST- into the web form. It should be decoded and displayed so you check it's correct. The private key is not needed for the certificate to be issued. At this point the validation process starts as mentioned above, which might take hours or weeks to complete. 3 - Eventually the SSL certificate should be issued, either by email or made available to download from the supplier's web site. It should be in X.509 format in a base64 encoded block starting -BEGIN CERTIFICATE- which should be saved as a PEM file (mycert.pem). There should also be an Intermediate CA certificate, with which your new certificate was signed, which should also be saved as a file (mycacert.pem). This may also be downloadable from the supplier as a bundle file and should be common to any certificates they issue, ie RapidSSL_CA_bundle.pem. 4 - The OverbyteIcsPemTool tool has a View PEM button that allows examination of your new PEM files. 5 - The three PEM files now need to be attached to the SslContext component in your application, with properties SslCertFile, SslPrivKeyFile and SslCAFile. The request certificate file has no further use. Support: -------- There is a mailing list to discuss F. Piette's components and applications. To subscribe surf to http://lists.elists.org/mailman/listinfo/t<em>wsocket</em>. Do not use an aliased EMail address, use your real EMail address, the one you'll use to post messages. After asking for subscription, you'll receive a confirmation email you must reply to it or you will _not_ be added to the subscriber's list (this is to check for email path and also make sure someone doesn't subscribe you without your consent). Once you have been registered with the mailing list processor, you can send messages to t<em>wsocket</em>@elists.org. Every subscriber will receive a copy of your message. I will respond, but anybody is welcome to respond to each other's messages. So every body can share his expertise. There are many other useful mailing lists at http://www.elists.org ! Before asking a question, browse the message archive you can download from the support page on the web site (click the "support" button from main page) and from the mailing list web site http://lists.elists.org/mailman/listinfo/t<em>wsocket</em>. Google is also archiving the list with some delay. If you found a bug, please make a short program that reproduces the problem attach it to a message addressed to me. If I can reproduce the problem, I can find a fix ! Do not send exe file but just source code and instructions. Always use the latest version (beta if any) before reporting any bug. You are also encouraged to use the support mailing list to ask for enhancements. You are welcome to post your own code. The support mailing list has sometimes a heavy traffic. If it is too much for you, you can select "digest" mode in which mailing list processor will mail you only one big message per day. To select digest mode goto http://lists.elists.org/mailman/listinfo/t<em>wsocket</em>. You can also subscribe to another mailing list called t<em>wsocket</em>-announce which will receive only very few messages when major bug fixes or updates are done. The subscription process is the same as for the other mailing list. See above procedure. Release notes ------------- There is no global release notes. Each component and sample has his own history. You can find those histories in the comment in the beginning of each source file. There are also a bunch of useful comments in the source code. You should at least browse the source for the components you are interested in. MidWare ------- If you wants to build client/server applications using TCP/IP protocol, you can do it easily with ICS. But you can do it much more easily using another freeware product from Fran鏾is Piette: MidWare. Available from the same web site http://www.overbyte.be. francois.piette@overbyte.be francois.piette@swing.be http://www.overbyte.be/ http://wiki.overbyte.be/
TCP 接收连接及消息的收发
我们在网络编程时,一般过程是创建套接字,然后绑定端口,然后开始监听,那么这个所谓的监听数量<em>为什么</em>一般很小,但是能接收很多连接,恩,后来才知道不在一个过程上,下面先从listen函数看起。listen(socket, backlog);socket backlog定义内核监听队列的最大长度。内核为任何一个给定的监听套接字维护两个队列: 1) 未完成连接队列。每个这样的SYN分节对应其中一项:已由某个
ICS - Delphi网络访问组件测试程序
ICS - Delphi网络访问<em>组件</em>测试程序,测试客户端发送命令或者<em>文件</em>给服务器,<em>使用</em>ICS控件的范例
Php 同步日历任务 .ics 文件
.<em>ics</em><em>文件</em> 实例 BEGIN:VCALENDAR PRODID:-//Events Calendar//iCal4j 1.0//EN CALSCALE:GREGORIAN VERSION:2.0 X-WR-TIMEZONE:Asia/Shanghai BEGIN:VEVENT DTSTAMP:20181206T030305Z DTSTART;TZID=Asia/Shanghai:2018112...
android 通过蓝牙接收文件,从历史传输记录打开,无法自动选择合适的应用程序
通过蓝牙接收<em>文件</em>,从历史传输记录打开,<em>无法</em>自动选择合适的应用程序 但是从file manager打开这个新接收的<em>文件</em>,是可以选择对应的应用程序(比如video player打开.3gp、.mp4<em>文件</em>)   历史传输记录打开download的<em>文件</em>,是通过接收<em>文件</em>时对方传过来的mime type来选择适合的APP打开该<em>文件</em> 如果出现提示“未支持格式的<em>文件</em>”,或者<em>使用</em>了错误的APP来打开该<em>文件</em>
React总结6:无状态组件
我们可以用纯粹的函数来定义无状态的<em>组件</em>(stateless function) 这种<em>组件</em>没有状态,没有生命周期,只是简单的<em>接受</em> props 渲染生成 DOM 结构。无状态<em>组件</em>非常简单,开销很低,如果可能的话尽量<em>使用</em>无状态<em>组件</em>。比如<em>使用</em>箭头函数定义:const HelloMessage = (props) => Hello {props.name}; render(<H
最强大的短信收发控件(免费版,支持D6)
本控件适用于WAVECOM模块,以及具备标准AT指令的GSM模块都可以<em>使用</em>,短信在发送和接收的时候都采用多线程,发送和接收的都提供了<em>成功</em>和失败的返回值,是目前网络上最强大的免费短信<em>收发</em>控件!自认为!哈哈!本控件经过了400多条短信群发测试,未发现任何问题!
nrf2401程序(收发都有,注释清晰)
nrf2401程序(<em>收发</em>都有),在keil上运行通过,注释清晰,初学者必看。
中国农历ics文件1941-2050全
中国农历<em>ics</em><em>文件</em>1941-2050全
邮件服务器不能收发的原因与解决方法
分析邮件服务器不能<em>收发</em>的原因与解决方法   有很多用户都会碰到邮件服务器不能正常<em>收发</em>邮件,但又束手无策。以下是 本人的一点经验与总结。
ICS网络控件,Delphi 使用
比DElphi自带的网络控件<em>使用</em>更方便的网络控件,能在多个Delph版本中<em>使用</em>,对UDP有通信支持更科学合理。
delphi SocketServer实现远程传输,双向传输
用delphi的SocketServer控件实现远程传输,多个客户端可以连接一个服务器,并且服务器可以选择性地给客户端发数据。 第一次发源代码,写的不好请见谅!
tcp 发送接收文件
bool recvfile(char *ip) //参数为服务端IP { // 初始化 Winsock. WSADATA wsaData; int iResult = WSAStartup( MAKEWORD(2,2), &wsaData ); if ( iResult != NO_ERROR ) printf("Error at WSAStartup()/n"); // 建立soc
ICS 中WSocket 交互怎么不对呢?还有传文件
最近参考了bdmh朋友rnhttp://hi.baidu.com/jasonggg/blog/item/6de82a86f30a3d3967096e21.htmlrn关于ICS传送数据的例子。rnrn[code=Delphi(Pascal)]//服务器端:rnprocedure TForm1.ClientDataAvailable(Sender: TObject; Error: Word);rnvarrn S: String;rnbeginrn with Sender as TTcpSrvClient dorn beginrn S := ReceiveStr;rn if SameText(S,'File') thenrn beginrn SendStr('Size');rn S := ReceiveStr;rn if StrToInt64(S) > 0 thenrn beginrn .....rn end;rn end; rn end;rnend;[/code]rnrn//客户端rn[code=Delphi(Pascal)]procedure TForm1.SendInfo;rnbeginrn WSocket1.SendStr('File');rnend;rnrnprocedure TForm1.WSocket1DataAvailable(Sender: TObject; ErrCode: Word);rnvarrn S: String;rn AStream: TMemoryStream;rn Size: Int64;rnbeginrn AStream := TMemoryStream.Create;rn tryrn AStream.LoadFromFile('d:\....');rn AStream.Position := 0;rn S := WSocket1.ReceiveStr;rn Size := AStream.Size;rn WSocket1.SendStr(IntToStr(Size));rn .....rn finallyrn FreeAndNil(AStream);rn end;rnend;[/code]rnrn不知道<em>为什么</em>不能交互呢?rn以前没有用过ICS,还请勿怪!rn对了还要请问下<em>文件</em>传送是怎么做的呢?非常感激朋友们了!
不能接收彩信的原因及自动收发彩信解决方案
好消息:已有朋友在下列机型或ROM上改进,<em>成功</em>接收彩信。 * EPIC 4G * i500 Ocean 8.3 * i500 Sakya EH03 V1 V2 经过N天的努力和尝试,终于解决了美版MIUI的彩信接收问题。目前测试的结果,有很多朋友已经可以完美接收彩信。另一部分<em>无法</em>接收彩信的原因,正在进一步研究中。但只要有能够接收的,就说明这个问题已经得到了初步的解决。而且从理论上来
Android UDP连接发送请求和接受请求的例子
UDP请求的发送 import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.util.Log; import com.changhong.electric_controll.UDPResponseCallback;
COM组件注册DLL不成功
COM注册DLL不<em>成功</em> COM注册的DLL也和任何动态链接库一样是编译程序生成的 动态链接库的最重要的特点就是一个DLL可能依赖其他DLL,依赖的功能在其他DLL内部,只有程序运行时,才会将指令走到其他DLL中去。 编译这种DLL并不需要其依赖的其他DLL<em>文件</em>,而只需要.h头<em>文件</em>和.lib引用<em>文件</em>。 COM<em>组件</em>在注册DLL的时候会找到其依赖的DLL,如果找不到就会注册失败。 所以解决
停止ICS防火墙
现在越来越多的服务器用的是ICS防火墙,配合ipsec来管理远程登陆和端口安全搞的真是要天下无黑了很多服务器直接打下来却连不上3389,仔细分析完也没找到什么防火墙或者新鲜软件,ipsec服务关闭以后也没效果。着实郁闷了一翻想一想就是自带ICS搞的鬼吧服务中显示:Windows Firewall/Internet Connection Sharing (ICS)我们可以用net stop "Win
vue做的单页面组件(单文件组件)不起作用,webpack已经打包成功,页面中没有结果
vue做的单页面<em>组件</em>(单<em>文件</em><em>组件</em>)不起作用,webpack已经打包<em>成功</em>,页面中没有<em>组件</em>的内容解决方案1:   可以尝试把 import Vue from &quot;vue&quot;;  改为:import Vue from &quot;vue/dist/vue.js&quot;;试试。如果惊奇地发现,页面中出现了<em>组件</em>的内容,一切ok,说明了………………...
rtx出现无法接收图片或者消息库被占用的问题的解决方法
我出现这个问题的原因是我的rtx和qq都安装在tecent<em>文件</em>夹下,所以我重新
ICS日历导出导入 源程序
ICS日历导出导入 源程序。。。。。。。。。。。。。。。
解决Win7启动网络共享出现错误提示1061的方法
解决Win7启动网络共享出现错误提示1061的方法:在windows7系统下启动网络共享的时候,<em>无法</em>正常启用共享访问,系统提示错误1061 ,即服务<em>无法</em>在此时<em>接受</em>控制信息,下面为大家分析下这方面的原因,其实出现这个问题的主要原因是系统中了蠕虫病毒的危害才引起的,具体情况看看下面的介绍吧! 推荐:win7 32位旗舰版系统下载 分析原因: 病毒名称:蠕虫病毒Win32.Lu
如何通过python发送日历邮件(ics
email的rfc:[url]https://tools.ietf.org/html/rfc2446[/url] 方便起见,用代码说话(只是最简单的版本,各种定制需求可以参看rfc,不过很多效果需要客户端的支持,支持的比较好的是outlook) [code=&quot;python&quot;] # encoding: utf-8 import smtplib from email.MIMEMu...
android短信发送和接受
短信发送发短信第一件事是在manifest<em>文件</em>中添加权限 第一方法:调用系统发短信的应用 /** * 调起系统功能发短信 * @param phoneNumber * @param message
树莓派通过串口接发数据(serial版)
    这次我要通过树莓派3B的串口和电脑互相发送数据,但是树莓派只有一个实实在在能用的串口ttyAMA0,另外一个还是迷你的串口,<em>无法</em>正常<em>使用</em>    那这样我们就要利用到我的前一篇文章,既然串口要被<em>使用</em>,我们就不能<em>使用</em>串口连接登录树莓派,可以采用一根网线登录或者ssh登录1、修改<em>文件</em>输入 sudo vim /boot/cmdline.txt删掉里面的 console=serial1,115200...
收发文件的服务器端/客户端实现
程序需求 客户端<em>接受</em>用户输入的传输<em>文件</em>名 客户端请求服务器端传输该<em>文件</em>名所指<em>文件</em> 服务器端代码: #include &amp;lt;iostream&amp;gt; #include &amp;lt;string&amp;gt; #include &amp;lt;stdlib.h&amp;gt; #include &amp;lt;string.h&amp;gt; #include &amp;lt;unistd.h&amp;gt; #include &amp;lt;arpa...
python网络编程之多线程同时接受和发送实例
python网络编程之多线程同时<em>接受</em>和发送 该文档仅用作学习笔记,转载请表明出处 ''' 模仿qq 同时可以发送信息和<em>接受</em>信息多线程 ''' from socket import * from time import sleep import threading # 负责接收数据 def recvData(): udpRecvSocket = socket(AF_INET,SOCK...
串口调试-可通过串口发送接收文件
基于MFC利用CSerialPort类自己写的串口小程序,可以发送<em>文件</em>;接收<em>文件</em>的程序是在《Visual C++/Turbo C串口通信编程实践》(第二版-龚建伟)一书中的“串口调试助手”源码的基础上改写的,<em>文件</em>默认保存于D:\RcvData.dat。 协议是:数据包的组成为:包头为一个字节(0xFF),接下来为一个字节的包长(200,可改变),接下来一个字节为包长的补码(256-200=56),接下来为200个字节的有效数据,接下来为两个字节的效验和。发送程序发送完一个数据包后等待接收程序的响应,如接收正确则发送下一个数据包,否则重发。接收程序接收到0xFF认为数据包开始,然后再累加接下来接收到的两个字节如其和为256则认为接收正确,然后累加接收到的200个有效字节,然后将其与接收到的效验和相比较,如相等则接收正确,向发送程序发送接收正确的响应,否则发送接收错误的响应。 感觉“雪莉蓝串口调试助手”中发送的十六进制输入时的输入模式比较好,打算自己效仿,由于没有源码,只能慢慢百度,于是花了一天,过程比较烦,中间也想过放弃算了,但还好最后实现了,happy一下。
Java生成ics文件
java生成ICS<em>文件</em>,这玩意好象是个什么日程表类的东西。可以导入到outlook里面用。 [code=&quot;java&quot;] public void exportActivityDates(HttpServletRequest request, HttpServletResponse response) throws Exception { MenuBean menuBean = (...
写一个串口接收发送程序
对于串口,流,的编程一直是相当头疼的,总是分不清头尾,写出来的程序总是没有把握,传输间的的程序尚可,但是发送一些带协议的东西就受不了了。 经过查资料,学习,得到一些经验,可以<em>使用</em>定界符法,显式长度法来发送数据。 一贯习惯是<em>使用</em>定界符+显式长度,写的不论不类,现在想想没有这个必要,如果在单片机上的话<em>使用</em>定界符,在中断里快速判断定界符和过滤每一个字符是相当奢侈的事情。故而转用显式长度法 显式长度
VoLTE技术中的会话持续性-ICS
参考文献: 1,邮电设计技术:移动软交换向m-AGCF演进分析 2,3GPP ICS标准 目录 ICS概念 ICS的用户需求场景 ICS对现网的影响 ICS中的用户终端 ICS中的用户标识 ICS、SRVCC、eSRVCC间的关系 ICS架构图 ICS中的SCC-AS ICS中的新概念     1,呼叫控制信令、承载控制信令     2,接入域选择ADS     3,T-ADS(被叫侧接入域选择
可以上网但不能用FOXMAIL收发邮件
感觉网络协议出问题了,用winsocketfix,同时再用netsh winsock reset命令 重启重置IP,问题解决! netsh winsock reset命令,作用是重置 Winsock 目录。如果一台机器上的Winsock协议配置有问题的话将会导致网络连接等问题,就需要用netsh winsock reset命令来重置Winsock目录借以恢复网络。这个命令可以重新初始化
用jspsmartupload实现文件上传下载遇到的问题
今天学习了在web项目中用jspsmartupload插件实现简单的<em>文件</em>上传下载功能,因为过程很曲折,就写了下来。最开始,因为第一次用插件,发现插件比写底层方法要快多了。但用的过程中就发现了一些问题,对于初学java的我实在是头大。记录一下遇到的问题吧: 1.在<em>文件</em>上传的jsp页面出现中文乱码的问题,在网上搜了一下午加一晚上的方法,各种尝试。大多数都是request.setCharacterEn
udp的发送数据和接收数据
1.发送数据 String ip = (String) SPUtils.get(IP_INFO, defaultIp, this); //获取本地ip地址 InetAddress receiverHost = InetAddress.getByName(ip); byte[] titleByte =
Android TCP的客户端(请求的发送和响应结果接收)
Android TCP客户端发送请求并接收响应 import android.util.Log; import com.changhong.electric_controll.UDPResponseCallback; import com.changhong.electric_controll.connect.entity.entity.EquipResponse; import com
深入理解ICS和NAT
Internet是针对全局唯一的IP地址空间而设计的,每一个连接到Internet的接口都必须拥有一个基于该接口所连接子网的唯一Internet IP地址,因此不管此接口所在的子网在Internet上如何进行路由,别人总可以通过你的Internet全局唯一的IP地址对你进行访问。 但是随着可分配的IP地址空间逐渐减少,而连接到Internet上的主机数量却大量的增加,已经不可能再为每一台需要连
socket发送字符流,无法接收回复的流
00 socket发送字符流,<em>无法</em>接收回复的流3 服务端:  Java代码   package socket;      import java.io.IOException;   import java.net.ServerSocket;   import java.net.Socket;      public class SocketS
如何用电脑收发传真?电脑怎么收传真?电脑怎么发传真?
一、个人用户   个人用户的特点是传真少,不需要强大的传真管理功能,最好是免费。针对此特点,一般建议<em>使用</em>windows自带的传真功能来<em>收发</em>,以下以Win7为例说明。   1、准备   准备一个传真Modem,安装到电脑上,然后安装好驱动,并且连上电话线。传真号码就是电话号码。   2、打开传真软件   依次点击“开始->所有程序” ,然后点击“Windows 传真和扫描”,打开传
ical4j 实现ICS文件的生成和解析
iCalendar 简介 iCalendar,简称“iCal”,是“日历数据交换”的标准(RFC 2445),该标准提供了一种公共的数据格式用于存储关于日历方面的信息,比如事件、约定、待办事项等。它不仅允许用户通过电子邮件发送会议或者待办事件等,也允许独立<em>使用</em>,而不局限于某种传输协议。 1、maven引入相关ical4j相关jar包: 在pom.xml中添加: ical4j b
C#实现tcp的接收与发送
using DWMSFaceVerifyClient.UTIL; using Newtonsoft.Json; using PreviewDemo.Bean; using PreviewDemo.Util; using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; usi...
linux网卡数据流 发送与接收
通常在驱动中看见的网卡代码很多,但是都离不开发送与接收,掌握好骨干也就好阅读网卡驱动了。 数据发送 : 发送函数:xxx_start_xmit() 上层封装好了sk_buff丢进kernel后,buf存储在skb->data中,通 过 xxx_start_xmit(),发送出去。 下面的实例是通过写入某个设备节点发送出去,当然这个设备肯定是串口或者sdio等传输设备, 也可以直接
关于android邮件的收发
讲到android的邮件<em>收发</em>,首先就要讲讲关于邮件协议的一下基础,度娘基本都有,这里是怕自己忘记,贴点备忘录。 现在常用的电子邮件协议有SMTP(25)、POP3(110)、IMAP4(143)。他们都处于TCP/IP协议簇,还包括他们的加密协议,SMTPS(465)、POPS(995)、IMAPS(993),他们的默认端口号都在后面的小括号里面了。其中的细节就不讲了,SMTP协议负责发
windows的ICS服务干什么的
  windows有个服务叫“Internet Connection Sharing”,也就是常说的ICS服务,这个服务在平常的情况下可以被禁用,或者被卸载,从而提高电脑的运行速度。但是如果你想把自己的电脑当作无线wifi热点来<em>使用</em>的话,那么没有这个服务是不行的,因为这个服务为这个<em>组件</em>的网络提供DNS域名解析、DHCP ip地址分配,以及NAT网关的作用,如果这个时候禁用这个服务,那么导致这
Qt5-TCPsocket文件传送接收
Qt5实现的一个TCPsocket<em>文件</em>发送与接收程序
extmail不能发邮件
# du /var -h发现/var/amavis/tmp中大量的临时<em>文件</em>把/var目录满了,把该目录清空一下,邮件<em>收发</em>恢复正常
java web邮件收发组件
java web 邮件<em>收发</em><em>组件</em>
Linux串口编程
linux 下串口编程详细讲解,实习uart的<em>收发</em>,解决了特殊字符<em>无法</em>发送<em>接受</em>问题
360随身wifi导致outlook不收发邮件解决办法
<em>使用</em>360随身wifi会导致exchange outlook不能<em>收发</em>邮件,一直找不到解决办法,如果不<em>使用</em>360随身wifi就不会出现问题,所以一直在找是不是360随身wifi设置上的问题,后面发现通过修改exchange服务器设置可以解决问题。 打开控制面板==>邮件==>设置邮件帐号 在安全性中把加密项不选中就可以解决问题。
手机无法发送只能接受短信的解决办法
前几天为了解决接打电话的问题经过设置之后,偶然发现自己的手机只能收短信,不能发短信了。开始以为是因为自己群发短信太多,短信功能被O2给封锁了。后来才意识到完全不是这么回事。解决方法如下: 1. 在“*#*#4636#*#*”菜单中的手机信息一项中,将DNS检查一项改为0.0.0.0 allowed; 2. 进入“信息”程序中,在菜单中选择“设置->短信设置->短信服务中心”; 3. 输入O2
利用ICS服务共享Internet连接
Windows 2000提供的ICS服务为家庭网络或小型办公网络接入Internet提供了一个方便经济的解决方案。ICS允许网络中有一台电脑通过接入设备接入Internet,要求这台电脑是基于Windows 2000的系统,通过启用这台电脑上的ICS服务,网络中的其他电脑就可以共享这个连接来访问Internet的资源。      为了方便起见,我们将设置了ICS服务的电脑称为ICS电脑,网
如何创建一个利用UDP实现消息收发功能的MFC程序
首先我们先来开一下所要实现的对话框是什么样子的以及它所要实现的功能; 如图所示,我们的程序需要实现的功能是:向客户机发送数据并<em>接受</em>来自客户机的数据,同时能够统计发送到的和接收到的字节数,并能够在完成任务后清空计数以及发送区和接收区的数据。 由于<em>使用</em>的是UDP通讯方式,首先我们需要将主机的IP地址进行绑定,在绑定后,绑定按钮会变成已绑定,再次点击就可以解绑。 正式进入编程,我们首先要编
android 使用asmack库进行文件收发
之前记录了部分的怎么用smack进行连接、登录、聊天等等,这边就接着说<em>文件</em>传输,看官方的文档, http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/index.html 看完文档你会觉得好简单呐,不过要操作起来真的挺要命的,至少我挺纠结的。 先说步骤 1、创建一个<em>文件</em>传输管理的类
Vuejs $emit 子组件调用父组件方法/函数
Vuejs $emit 子<em>组件</em>调用父<em>组件</em>方法/函数直接搬官方文档:vm.$emit( event, […args] ) 参数:{string} event [...args]触发当前实例上的事件。附加参数都会传给监听器回调。 因为错误理解了触发当前实例上的事件这句话的意思,导致我怎么执行this.emit('event')都不<em>成功</em>。实际上正如字面意思vm.$emit不过是触发当前实例上的事件,所以需
Delphi 7的Indy网络组件学习笔记01
为了适应网络的迅速发展,Delphi推出了大量适合于网络环境开发应用的<em>组件</em>, 如图10.4所示是Delphi中的Indy<em>组件</em>页,其上集中了当前网络上常见的服务类型。 图10.4 Indy<em>组件</em>页10.3.1 Indy<em>组件</em> 1. Indy Clients页 (1)IdTCPClient 封装了TCP客户端的所有功能,包括套接字支持,用于编写TCP客户端软件或派生其他类。
51单片机和HC05蓝牙模块对接成功,但是数据收发时候发现数据很多时候对不上问题解决
最近用89c51单片机和HC05蓝牙模块进行了匹配和数据对接。 总体上匹配<em>成功</em>,数据也可以发送接收<em>成功</em>,但是发现一个奇怪的问题,有时候发送一个一字节的数据,低四位正常接收,高四位<em>接受</em>异常。 比如发送0x10 <em>接受</em>为0x30; 后来发现是晶振的问题,之前一直用卖方指定的12M晶振,后来发现用11.0295M晶振可以正常<em>接受</em>。 ---》波特率的问题,51单片机12M晶振9600的波特率误差高达
kafka消息发送和消息接受
1:在虚拟机模拟,克隆2个虚机作为消息消费者 2:在2台消息消费者上执行 kafka-console-consumer.sh --zookeeper host:2181 --topic demo 3:在消息服务者上执行 kafka-console-producer.sh --broker-list localhost:9092 --topic demo 4:在2和3<em>成功</em>后,在3上输入
ICS TFTPClient 的相关操作。
unit UindexFTP;  interface  uses    SysUtils, Classes ,StrUtils ,OverbyteIcsWndControl, OverbyteIcsFtpCli;  type    TFindFile  = procedure(FileName,EditTime,Attribute,Owner,Group,Size:string
Delphi安装组件的几种方式
由于<em>组件</em>提供的方式不同,所以安装的方法也是不一样的,下面就目前常见的各种形式的组 件的安装方法介绍一下。 1 、只有一个DCU<em>文件</em>的<em>组件</em>。DCU<em>文件</em>是编译好的单元<em>文件</em>,这样的<em>组件</em>是作者不想把源码公 布。一般来说,作者必须说明此<em>组件</em>适合Delphi的哪种版本,如果版本不对,在安装时就会 出现错误。也正是因为没有源码,给<em>使用</em>者带来了不便,那就是一旦Delphi版本升级,此组 件就不能再<em>使用</em>
用Outlook收发gmail邮件
        一直都用gmail的webmail登陆邮箱,因为gmail比较简洁,不过最近发现还是效率太低了,还是要用Outlook效率高一点。         如果你曾经用过Outlook,其实是一件蛮简单的事情,需要注意的是你先要在你的邮箱中允许通过POP<em>收发</em>邮件,否则的话,无论怎么设置都无效。google的帮助做得蛮好。原样贴出来吧1. 如何启用 POP? http://m
解决stm32+lwip接收服务器大数据包
基于lwip协议,实现从服务器上拉取数据进行接收保存,由于数据量比较大,所以不能一次接收,只能分开接收,每次接收1460字节数据,接收完成进行合并,主要处理分为两点: 修改lwip配置代码lwipopts.h<em>文件</em>中#define PBUF_POOL_BUFSIZE宏定义修改大一点,比如1024; 由于动态分配堆栈空间有限,所以直接定义char recev_buf[1500]和static ch...
串口中断@mb90543
串口中断实验。完成发送,幷中断<em>接受</em>。在串口助手的操作下。可以<em>成功</em><em>收发</em>。波特率9600
UDP传输数据及文件
UDP传输数据及<em>文件</em>一、实验内容内容1: 利用数据报套接字实现数据传输 客户端创建UDP套接字,向指定的服务端发送数据; 服务端接收到新数据,显示是谁发送过来的,并把该数据 回传给发送方; 服务端<em>使用</em>多线程来实现并发。 观察在服务端启动和不启动时,客户端的运行情况。 内容2: <em>使用</em>UDP套接字实现<em>文件</em>传输 客户端向服务端发送<em>文件</em>名; 客户端向服务端传输<em>文件</em>内容; 双方关闭套接
Linux串口通信中一种接收不到数据的问题的解决
转载来源:嵌入式系统之初学者点滴 (百度空间) 原文 在这篇文章()中,实现了Linux环境下的串口读写操作,程序也运行<em>成功</em>了。但是再进一步测试时发现,如果开机之后直接如上文中所说,分别运行读程序和写程序,再用导体同时触碰串口的2、3针的话。此时将显示写入串口<em>成功</em>,但是读串口数据失败。 这个奇怪的问题当时之所以没有被发现出来,是因为在这之前,曾经打开过一次minicom。后来实验
关于ICS,Internet连接共享
ICSInternet Connection Sharing通过在<em>使用</em>拨号连接的计算机上启用 Internet 连接共享,您可以为家庭网络中的所有计算机提供网络地址翻译、寻址和名称解析服务。其中包含有一个Mini-DHCP当启用了ICS,也就启用了一个Mini-DHCP Server, 它包括DHCP allocator, DNS proxy 及 WINS proxy<em>组件</em>.不能将ICS与DHCP用
linux 网络编程:使用两线程实现socket同时收发数据
工作中最近有<em>使用</em>到socket 向客户端同时发送和接收数据,因为是嵌入式linux设备,且要求只能同时一个客户端连接该端口。考虑到节省系统资源,只创建了两个线程分别实现服务端的<em>收发</em>数据。下面直接上代码,该代码为在PC机上程序,已作详细注释。 server.c #include #include #include #include #include #include #include #incl
ics服务启动失败的一种解决方法
说明:ICS(Windows Firewall/Internet Connection Sharing)就是Windows防火墙和网络连接共享服务,它是一种提供网络地址转换、 寻址、 名称解析和入侵预防服务对于家庭网络或用于小型办公网络的服务。如果有远程访问、共享等问题,应该看看这个服务的状态是不是启用。 <em>ics</em>启动失败这个问题我去用心解决过两次,第一次没有解决的得了,是高人给出建议解决的。第
python scikit-learn安装成功import报错解决方案
安装好了scikit-learn后,import sklearn失败,系统提示缺少指定的模块,并且报错 scipy sparse.crs错误。 如果你正在看这篇文章,也许能帮助到你。因为你的vc缺少了最新的<em>组件</em>,需要到 https://www.microsoft.com/zh-CN/download/details.aspx?id=48145 下载对应的<em>组件</em>安装。 下载完成后,<em>成功</em>运行
ajax发送请求成功,服务器也响应成功,但是前台就是接不到数据
      ajax发送请求<em>成功</em>,服务器也响应<em>成功</em>,但是前台就是接不到数据,调试了半天原来是在调试接口过程print_r()其中一步,和最后返回的值一起发回前台,导致最后返回的数据不是json格式,<em>无法</em>获取数据;以下是代码: &amp;lt;?php require_once &quot;../../config.php&quot;; require_once &quot;../../functions.php...
linux 使用jrtplib收发h.264视频文件
    之前介绍过自己直接<em>使用</em>RTP<em>收发</em>h.264数据,这样有一个麻烦就是RTP协议的各个参数需要自己一个一个位的去填充,这样不利于发送也不方便接收。jrtplib库就刚好解决了这样的麻烦,同时它还提供了很多RTCP的信息查询接口,这样为实现实时流控制提供了方便。    在本文中,将介绍h264 通过jrtplib库来实现实时的发送和接收。发送方发送,按照编码的习惯,我们习惯上是每完成一帧数据的编...
在vue-cli中使用组件时总是提示组件未注册
在vue-cli中<em>使用</em><em>组件</em>时总是提示<em>组件</em>未注册,报错如下: 自己明明是已经搞好的<em>组件</em>啊?<em>为什么</em>找不到。。。 答案出现在这里了: 在引用<em>组件</em>的地方是这样写的: import first from 'components/first.vue' 如果在地址前面加上“./”问题就解决了。...
Foxmail突然无法接收邮件(可发送)-详解
獻給Foxmail 的忠粉們:   Foxmail是大多数上班族常用的邮件<em>收发</em>工具,因为它<em>使用</em>方便简洁,深受大部分用户的喜欢。Foxmail快捷<em>收发</em>模式替代了web邮箱上网登录麻烦的模式,Foxmail客户端邮箱设置其实还比较简单,网上都有教程,其实只要输入账号密码即可,类似无线路由器的设置;     那么如果我们在客户端上<em>收发</em>邮件时突然<em>无法</em>接收
【FreeRTOS】小白进阶之如何使用FreeRTOS消息队列发送和接收数据(二)
创建两个发送队列数据任务和一个接收队列数据任务。 1、头<em>文件</em>声明和任务定义 #include &quot;FreeRTOS.h&quot; #include &quot;task.h&quot; #include &quot;queue.h&quot; #include &quot;supporting_functions.h&quot; static void vSenderTask( void *pvParameters ); static void vRecei...
切换了网络后foxmail不能收取邮件了
IMAP错误 收取邮件地址(收取邮件地址): Socket
航信三大系统ICS DCS CRS
转自:http://blog.sina.com.cn/s/blog_6d719f37010191m1.html 什么是GDS,全称是Global DistributionSystem,即全球分销系统,是基于计算机技术支持下的大规模销售网络。目前国际上的GDS分二类:   1.既可以销售航空公司的产品(机票)也可以销售酒店的产品(客房),如SABRE、GALILEO、AMAD
svn通信项目文件收发
这是一个SVN通信的项目,涵盖服务器与客户端的<em>文件</em><em>收发</em>流程,目的是为了保证<em>文件</em>能够正确的在网络中进行传输,客户端上传的<em>文件</em>可以保存在服务器中,同时客户端可以下载服务器之前有用户上传过的所有<em>文件</em>,并以列表的形式展示在客户端。由于当时没有学习数据库,因此在当时处理的时候,<em>文件</em>都是存储在指定<em>文件</em>夹中的,当然这里我们的关注点还是<em>文件</em>在网络中的传输,剩下的可以随着我们学习的深入再进行改进。我认为这种的学习方
Activemq 消息发送、接收java代码实现队列模式
package service; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.MessageProducer; import javax.jms.TextMessage; /**   * 生产类  * @ClassName: ProMq   */ pub
ajax请求成功后return无法接收到返回值
今天做的项目需要频繁的用到ajax请求,所以就想用一个方法将整个请求封装起来,直接调用方法传递参数,然后返回请求结果就可以了。 源代码如下:function get_result(param_data){ var sign=get_sign(param_data); appcan.request.ajax({ type : 'post', url
Django 发送邮件失败
Python Django发送邮件失败 Connection unexpectedly closed
Linux下mail命令【邮件的收发
Linux下mail命令【邮件的<em>收发</em>】   1. 首先在发送端安装sendmail # yum install sendmail -y 2. 如何发送mail (1).将<em>文件</em>当做电子邮件的内容送出 语法:mail -s “主题”用户名@地址 输入内容: XXX 以点结束:  .    【或者Ctrl+D退出内容编辑】 举例说明: (2).发送邮件给本机用户 语法:
C#通讯编程入门--串口数据接收发送实例
转自:http://www.cnblogs.com/bmbh/p/3795774.html 虚拟串口驱动工具,创建俩个虚拟串口,如图:   创建两个Console模拟串口的发送接收数据 C#串口数据接<em>收发</em>送,类空间: using System.IO.Ports;   C# 串行端口 接收数据,代码如下: /
文章热词 比特币钱包使用 单位全局变量使用 sklearn库使用 Solidity元组使用 IPFS个人博客搭建新增文件
相关热词 c# 电子文件收发 android无法接受启动广播 c++中pb.cc为什么文件 c# 服务器接受文件 为什么学python 为什么要学习python
我们是很有底线的