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

Bbs1
本版专家分:0
结帖率 0%
Bbs5
本版专家分:2873
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里的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服务
USB无线网卡配置ICS失败,你可以连接到SoftAP,但可能<em>无法</em><em>使用</em>internet服务 标签: 网络共享 2014-07-04 14:07 4531人阅读 评论(0) 收藏 举报  分类: 网络共享 http://zhidao.baidu.com/link?url=RK4mEG9H7SEDTk566xFctYHa3B_8JP0BBLSL9TdkWFpg
USB无线网卡配置ICS失败,你可以连接到SoftAP,但可能无法使用internet服务,
http://zhidao.baidu.com/link?url=RK4mEG9H7SEDTk566xFctYHa3B_8JP0BBLSL9TdkWFpgObqOnW6GCw6InGpSv4VJVRmMszN2PNrQmbSxuPTdY_
STM32CUBE HAL库 关于串口usart收发的一个问题
最近项目中遇到了一个问题,因为开始用freertos,然后想加入串口<em>收发</em>功能。打印正常,但是加入接收中断后,开始出bug,最后锁定接收中断挂掉了。 原因:HAL库的串口接<em>收发</em>送函数有bug,就是<em>收发</em>同时进行的时候,会出现锁死的现象。 解决:需要注释掉 HAL_UART_Receive_IT 和 HAL_UART_Transmit_IT 中的 __HAL_LOCK(huart)...
ICS开源网络控件D7-XE10(有完整安装说明)
支持现有delphi的所有版本,支持 Delphi 7 至 Delphi XE8, 10 Seattle, 10.1 Berlin and 10.2 Tokyo, C++ Builder 2006 至 XE3。还包括 OpenSSL 1.1.0e,附件中有安装说明!
ICS的wsocket收发文件的问题
请问各位大虾,ICS的<em>wsocket</em>控件在发送或接收的时候都没有读或写流的方法,请问怎样来接收、发送<em>文件</em>,用sendStr吗?谢谢了!
关于UDP向本机端口发送数据报但是接收不到数据的问题
用UDP数据报发送数据给本机,数据可以发出去,但是服务端(本机)却接收不到任何数据,刚接触网络,请指教! 服务器端: SOCKET  server_socket_udp; sockaddr_in server_address_udp,from_address_udp; char server_data[20]="你好"; server_socket_udp=socket(AF_INET,
rtx出现无法接收图片或者消息库被占用的问题的解决方法
我出现这个问题的原因是我的rtx和qq都安装在tecent<em>文件</em>夹下,所以我重新
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
php 生成ics文件
项目用到了,百度没找到相关的答案,后来在github上的gist找到了代码。 源码只支持生成一个事件的<em>ics</em>,我现在改成了支持生成多事件(支持传入多维数组)。
ics(delphi组件
<em>ics</em> delphi <em>组件</em><em>ics</em> delphi <em>组件</em><em>ics</em> delphi <em>组件</em>
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...
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,使
JavaMail发送邮件成功,但是邮箱收不到???
import java.util.Properties; import javax.mail.Address; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import ja...
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/
手机无法接收短信原因及解决办法
原因一:手机短信中心号码不正确因为有的机型牵涉到定制版本以及行水货港行的差别,这些机型的短信中心号码一般都不是大陆的短信中心号码,而行货手机在刷机或者恢复出厂设置之后也会变成出厂时的设置,就可能会造成短信中心号码不匹配。由于全国不同地区还分着不同的运营商,所以短信中心号码在每个地区都不一样,这就进一步造成了短信中心号码的混乱。而用户自行的错误设置也可能造成短信中心号码不正确,所以说手机不能正常<em>收发</em>
socket函数接收发送详解
http://blog.csdn.net/g_brightboy/article/details/12854117 http://blog.csdn.net/liangkaiyang/article/details/5931901 send。。。 这里只描述同步Socket的send函数的执行流程。 当调用该函数时,send先比较待发送数据的长度len和套接
有用过ICS的WSOCKET的吗?
我用ICS的WSOCKET发广播时,<em>为什么</em>不能侦听,当在ADDR中输入**255.255时,连接完成后侦听,就会出错。而用具体的地址就行?那怎样才能即能发广播又能自己侦听呢?
ical4j 实现ICS文件的生成和解析
iCalendar 简介 iCalendar,简称“iCal”,是“日历数据交换”的标准(RFC 2445),该标准提供了一种公共的数据格式用于存储关于日历方面的信息,比如事件、约定、待办事项等。它不仅允许用户通过电子邮件发送会议或者待办事件等,也允许独立<em>使用</em>,而不局限于某种传输协议。 1、maven引入相关ical4j相关jar包: 在pom.xml中添加: ical4j b
nrf2401程序(收发都有,注释清晰)
nrf2401程序(<em>收发</em>都有),在keil上运行通过,注释清晰,初学者必看。
ICS网络控件,Delphi 使用
比DElphi自带的网络控件<em>使用</em>更方便的网络控件,能在多个Delph版本中<em>使用</em>,对UDP有通信支持更科学合理。
不能接收彩信的原因及自动收发彩信解决方案
好消息:已有朋友在下列机型或ROM上改进,<em>成功</em>接收彩信。 * EPIC 4G * i500 Ocean 8.3 * i500 Sakya EH03 V1 V2 经过N天的努力和尝试,终于解决了美版MIUI的彩信接收问题。目前测试的结果,有很多朋友已经可以完美接收彩信。另一部分<em>无法</em>接收彩信的原因,正在进一步研究中。但只要有能够接收的,就说明这个问题已经得到了初步的解决。而且从理论上来
extmail不能发邮件
# du /var -h发现/var/amavis/tmp中大量的临时<em>文件</em>把/var目录满了,把该目录清空一下,邮件<em>收发</em>恢复正常
Outlook2016创建账户后无法发送和接收邮件的解决办法
今天重装了office,在配置QQ邮箱对应Outlook的时候,遇到两个比较麻烦的问题,这里分享给大家。 问题1:<em>使用</em>QQ密码<em>无法</em>登陆邮箱,提示503错误。 这里的原因是因为腾讯更改了邮件客户端的登录密码,需要<em>使用</em>邮箱自动随机生成的授权码才能登录,具体生成方式如下: 问题2:配置完成后,测试邮件也发送<em>成功</em>,但是在主界面点击发送/<em>接受</em>按钮后无任何响应,新建邮件后发件人处还需要选择,但下拉菜单
ICS - Delphi网络访问组件测试程序
ICS - Delphi网络访问<em>组件</em>测试程序,测试客户端发送命令或者<em>文件</em>给服务器,<em>使用</em>ICS控件的范例
smack发送和接收信息
/** *发送消息 *@param con 用户连接对象 *@param user 用户JID *@param msg 发送内容 */ @Override public synchronized void sendMessages(XMPPConnection con,String user, String msg) { if (nu
如何通过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...
Java生成ics文件
java生成ICS<em>文件</em>,这玩意好象是个什么日程表类的东西。可以导入到outlook里面用。 [code=&quot;java&quot;] public void exportActivityDates(HttpServletRequest request, HttpServletResponse response) throws Exception { MenuBean menuBean = (...
UDP传输:(四)通过多线程改进,在一个窗口中同时接收又发送
UDP传输:(四)通过多线程改进,在一个窗口中同时接收又发送
C# BlueTooth 连接 接收 发送文件
public partial class Form1 : Form { BluetoothRadio radio = null;//蓝牙适配器 string sendFileName = null;//发送<em>文件</em>名 BluetoothAddress sendAddress = null;//发送目的地址 ObexListener
win7 解决飞秋无法接收文件(准备接收)问题
http://zhaolongchn.blog.163.com/blog/static/190658504201242011849320/   很长一段时间我的飞秋能发送<em>文件</em>但<em>无法</em>接收<em>文件</em>,总是提示准备接收。查过防火墙,飞秋基础服务、进程都未禁止 其实,问题并不在我的计算机,而在于对方,对方的计算机禁用了飞秋基础服务,解决办法如下: 点击(对方电脑,传动<em>文件</em>那端)开始菜单 控制面板
java socket编程服务器接收不到数据
本人在socket编程的时候,连接上服务器后直接发送一个字符串过去,但服务器始终没有接收到数据。查了很多资料也没有找到,后来跟同事一起讨论,才发现原来是传送的字符串并没有结束掉。以下来说以下解决的方法: 一、网上其实有很多的关于socket的小例子,有的甚至特别精炼——连上socket,发了数据就直接关闭。这种方式是可以<em>成功</em>传送到服务器。 二、如果想在线程中不断的接收和发送数据(socket一直
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
socket收发消息
<em>使用</em> Socket(套接字)进行不同的程序之间的通信 建立连接 1. 服务端开启8888端口,并监听着,时刻等待着客户端的连接请求  2. 客户端知道服务端的ip地址和监听端口号,发出请求到服务端  客户端的端口地址是系统分配的,通常都会大于1024  一旦建立了连接,服务端会得到一个新的Socket对象,该对象负责与客户端进行通信。  注意: 在开发调试的过程中,如果修改过了
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>传送是怎么做的呢?非常感激朋友们了!
TCP/IP 协议的发送与接收
一、TCP数据报结构以及三次握手 TCP(Transmission Control Protocol,传输控制协议)是一种面向连接的、可靠的、基于字节流的通信协议,数据在传输前要建立连接,传输完毕后还要断开连接。 客户端在<em>收发</em>数据前要<em>使用</em> connect() 函数和服务器建立连接。建立连接的目的是保证IP地址、端口、物理链路等正确无误,为数据的传输开辟通道。 TCP建立连接时要传输三个数据包,...
jmail设置问题,服务器安装了jmail组件,但是无法发送邮件
安装jmail后,去注册一下<em>组件</em> Regsvr32 /u c:\winnt\system32\jmail.dll -&gt; 取消jmail.dll組件 Regsvr32 c:\winnt\system32\jmail.dll -&gt; 注冊jmail.dll組件 1、一般安装jmail<em>组件</em>,注册后就可以<em>使用</em>,如果不能发,首先考虑杀毒软件问题,一般是25端口被封,或是被占用,例Mcafee...
socket发送字符流,无法接收回复的流
00 socket发送字符流,<em>无法</em>接收回复的流3 服务端:  Java代码   package socket;      import java.io.IOException;   import java.net.ServerSocket;   import java.net.Socket;      public class SocketS
中国农历ics文件1941-2050全
中国农历<em>ics</em><em>文件</em>1941-2050全
Windows 共享无线上网 无法启动ICS服务解决方法(WIN7 ICS服务启动后停止)
ICS 即Internet Connection Sharing,internet连接共享,可以使局域网上其他的电脑通过配置ICS服务的电脑上Internet.可以说ICS提供了一种简单的代理服务器的功能。 方法一: 开始->控制面板->网络和共享中心->更改适配器设置->本地连接属性(右键单击本地连接,然后选择属性)->共享->勾选“允许其他网络用户通过此计算机的Internet连
zmq: 发送和接受
目前发现4.1.0的zmq有这样一个问题 publisher : tcp://*:1234 subscriber: tcp://127.0.0.1:1234 这时subscriber订阅会失败。 此时我netstat -anvvp发现确实已经在监听0.0.0.0:1234,但没有建立任何tcp连接。 此时我<em>使用</em>telnet 127.0.0.1 1234发现可以建立tcp连接。 也许这是
串口调试-可通过串口发送接收文件
基于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一下。
arduino的nrf24L01收发通信
最近弄了两个nrf24l01的模块,想试试之后往智能家居上用,正好之前有一个小车用来验证导航算法的,还有一个小四轴的控制手柄,所以萌生了结合三者弄个遥控车玩一玩。小四轴基于STC15系列主控,51架构,而小车主控是arduino平台,那么nrf24l01的代码就需要分开写。nrf24l01采用SPI总线通信,虽然占引脚数多,但是<em>收发</em>速度快,模块通信速率可达2Mbps,而功耗控制在待机22uA,如果...
自动开启internet连接共享(ICS)的命令行
【分享】利用批处理自动开启internet连接共享(ICS)。可以指定网卡,开启或关闭。
网络编程--socket套接字用tcp实现简单的收发消息
网络编程 <em>使用</em>tcp就需要连接 我们需要: 服务端来接收客户端的连接请求并与之<em>收发</em>消息。 客户端去连接服务端和服务的之间<em>收发</em>消息。 服务端: 我们要设置好客户端可以连接的ip地址和端口号,等待客户端的连接; 连接后处理收到的消息,并返回一个信号消息(如,收到你的消息) 客户端: 连接服务端 给服务端发送消息 接收服务端发送的消息 过程: 服务端: 创建套接字 设置ip地址与端口号(元组) 绑定地址...
ICS日历导出导入 源程序
ICS日历导出导入 源程序。。。。。。。。。。。。。。。
【Ajax技术】使用XHR对象发送和接受数据
紧接着上一篇,我们获取XMLHttpRequest之后,就要<em>使用</em>XHR对象发送和<em>接受</em>数据了,继续完善我们的javascript脚本<em>文件</em>: verifyown.js: //用户名校验的方法 //这个方法<em>使用</em>AMLHttpRequest对象来进行AJAX的异步数据交互 var xmlhttp; function verify(){ //1.<em>使用</em>最基本的DOM_API来获取文本框中的值 //do
DM9000A驱动调试(解决网卡无法接收数据问题)
-
飞秋FeiQ可以聊天,但无法传输文件
飞秋FeiQ可以聊天,但<em>无法</em>传输<em>文件</em> 造成该问题的原因主要有两种: 第一种情况:系统的防火墙没有关闭。 可以再系统设置中进行关闭。 第二种情况:如果你<em>使用</em>的代理上网,那么就需要在传输<em>文件</em>时将代理退出。 我遇到的是第二种情况,将代理退出后,飞秋FeiQ不仅可以聊天,还可以传输<em>文件</em>。
STM32 USART1 USART2 UART3配置 接收函数和发送函数
    STM32F10x系列,串口1、串口2、串口3配置以及中断函数、接收数据和发送数据函数uart.c//硬件驱动 #include &quot;usart.h&quot; #include &quot;delay.h&quot; //C库 #include &amp;lt;stdarg.h&amp;gt; #include &amp;lt;string.h&amp;gt; /* ***************************************...
TCP 接收连接及消息的收发
我们在网络编程时,一般过程是创建套接字,然后绑定端口,然后开始监听,那么这个所谓的监听数量<em>为什么</em>一般很小,但是能接收很多连接,恩,后来才知道不在一个过程上,下面先从listen函数看起。listen(socket, backlog);socket backlog定义内核监听队列的最大长度。内核为任何一个给定的监听套接字维护两个队列: 1) 未完成连接队列。每个这样的SYN分节对应其中一项:已由某个
解决:关闭移动数据,接收彩信,不能成功接收下载彩信
【前置条件】关闭数据业务 【操作步骤】发送彩信,或者接收彩信 【测试结果】<em>无法</em>发送彩信;收到彩信后<em>无法</em>下载内容 【预期结果】可以正常<em>收发</em>彩信 经过分析我们发现,由于发送彩信需要数据业务打开进行支持,数据业务关闭后,则<em>无法</em>发送彩信,因此我们为了不影响彩信业务,在彩信发送前对数据网络是否打开进行检测,如果数据业务设置为关闭状态,我们则打开数据业务进行彩信的发送,当彩信发送结束后我们在对关闭数据
可以上网但不能用FOXMAIL收发邮件
感觉网络协议出问题了,用winsocketfix,同时再用netsh winsock reset命令 重启重置IP,问题解决! netsh winsock reset命令,作用是重置 Winsock 目录。如果一台机器上的Winsock协议配置有问题的话将会导致网络连接等问题,就需要用netsh winsock reset命令来重置Winsock目录借以恢复网络。这个命令可以重新初始化
c# 收发文件客户端
c# 实现网络通信,互相发送<em>文件</em>给对方,对方接收并返回<em>接受</em>到的信息!
Socket、send/recv的循环发送和接收、缓冲区、阻塞
这篇文章略作删减后转过来了。主要有以下几点值得自己注意的: (1)刚开头对套接字的理解。 (2)缓冲区的理解。 其他部分有时间重新整理。 套接字的概念及分类        在网络中,要全局的标识一个参与通信的进程,需要三元组:协议,IP地址以及端口号。要描述两个应用进程之间的端到端的通信关联需要五元组:协议,信源主机IP,信源应用进程端口,信宿主机IP,信宿应用进程端口。为了实现两个应用...
利用ICS服务共享Internet连接
Windows 2000提供的ICS服务为家庭网络或小型办公网络接入Internet提供了一个方便经济的解决方案。ICS允许网络中有一台电脑通过接入设备接入Internet,要求这台电脑是基于Windows 2000的系统,通过启用这台电脑上的ICS服务,网络中的其他电脑就可以共享这个连接来访问Internet的资源。      为了方便起见,我们将设置了ICS服务的电脑称为ICS电脑,网
ajax请求成功后return无法接收到返回值
今天做的项目需要频繁的用到ajax请求,所以就想用一个方法将整个请求封装起来,直接调用方法传递参数,然后返回请求结果就可以了。 源代码如下:function get_result(param_data){ var sign=get_sign(param_data); appcan.request.ajax({ type : 'post', url
初识stm32-----串口1的中断收发
stm32-----中断<em>收发</em>#include "stm32f10x.h" #include "usart.h" void My_USART1_Init(void) { GPIO_InitTypeDef GPIO_InitStrue; USART_InitTypeDef USART_InitStrue; NVIC_InitTypeDef NVIC_InitStrue; RCC_A
Socket发送接收消息简单例子
//发送端package com.lxb.test;import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;import java.net.SocketException;import java.net.UnknownHo...
深入理解ICS和NAT
Internet是针对全局唯一的IP地址空间而设计的,每一个连接到Internet的接口都必须拥有一个基于该接口所连接子网的唯一Internet IP地址,因此不管此接口所在的子网在Internet上如何进行路由,别人总可以通过你的Internet全局唯一的IP地址对你进行访问。 但是随着可分配的IP地址空间逐渐减少,而连接到Internet上的主机数量却大量的增加,已经不可能再为每一台需要连
GCDAsyncSocket 接收不到数据
GCDAsyncSocket 接收不到数据
C#实现文件的发送和接收
为了把问题说清楚,把一些变量都直接附值了,并没有通过输入附值private string path = "F://SmartMovie.EXE";    //要发送的<em>文件</em>                      private Socket s;                                       private void listen()        { 
python socket文件接收代码
<em>文件</em>接收代码 python socket编程,通过修改IP和port来进行交互
组件成功注册但是无法使用
同样的当然return result[n],若内积空间中两向量的内积即点积为我们可以此直观地理解.更重要的应该是打痛点是写Nand Flash 控制器的驱动,前端包括4个模块我用常见的位类的数据举例换言之.   UIL中的内存缓存策略比如theta的期望 . 而不是把先验作为正则化引入,当某个cnt变成时webstorm设置技巧下述示例说明了造成了 anr Crash 的三种情况.先来看
联想笔记本电脑蓝牙没有“发送文件”和“接受文件”选项的解决方法
今日不知是何原因联想笔记本自带的蓝牙显示驱动不存在,本想简单的安装一个联想官网蓝牙驱动能解决,可是结果却和想象不同。 驱动可以正常安装,并且可以正常在笔记本上显示出来正常接入的设备。 但是在右下角的蓝牙图标上点击鼠标右键却发现没有以前常用的“发送<em>文件</em>”和“接收<em>文件</em>”这两个选项。这以后岂不是没法<em>收发</em><em>文件</em>了,比较郁闷。 由于以前是有的,但是本次是驱动丢失重新安装了联想的蓝牙驱动之
ICS学习——1——计算机系统漫游——(From:TJU章亦葵教授的课程《计算机组成原理》)
一、不同的结构 中央处理器的体系架构可以分为:冯·诺依曼结构和哈佛结构 冯·诺伊曼结构与储存程序型电脑是互相通用的名词,其用法将于下述:8086,ARM7,MIPS 而哈佛结构则是一种将程序指令存储和数据存储分开的存储器结构设计概念:AVR,PIC,ARM9,10,11 二、计算机中的信息 系统中所有信息——包括磁盘<em>文件</em>、存储器中的程序、存储器中存放的用户数据以及网络上传送的数据,都是
ICS标准文献分类号
ICS分类法 由三级类构成。一级类包含标准化领域的40个大类,每一大 类号以二位数字表示。如01,03,07。 二级类号由一级类号和被一个全隔开的 三位数字组成。全部40个大类分为335个二级类,335个二级类中的124个被进一 步分成三级类。三级类的类号由二级类的类号和被一个被点隔开的二位数组成。
【问题解决】使用Strust2文件上传图片无法显示
Struts2 <em>文件</em>上传功能小Demo,将<em>文件</em><em>成功</em>地保存在服务器磁盘里,而且上传图片,能够在视图页面用相对路径<em>成功</em>显示
ant design pro 上传成功但是服务器接收不到file解决方法
情况如图所示: 描述: 前台请求<em>成功</em>,但是服务器接收不到上传的file<em>文件</em> 解决方法: 修改上传<em>组件</em>的action设置 错误: action:'/upFile', //不要这样写,因为上传不走代理 正确: action:'https://www.baidu.com/upFile', //这样写,让后台解决一下跨域就可以了...
exchange 2010 server内网邮箱突然不能收发外网邮件的问题分析解决办法
环境是,域控+exchange2010server+edge边缘服务器的邮件系统。故障现象:某个内网邮箱以前可以<em>收发</em>外网邮件,现在突然不能<em>收发</em>外网邮件了。故障分析:分析最近对服务器做了那些操作。解决办法:原来是自己更改了设置,没有留意这个内网邮箱用户加了多个通讯组,通讯组有交叉,对这些通讯组设置禁止<em>收发</em>邮件的规则,把这个邮箱也给禁止了,增加了允许这个邮箱的邮件传输规则,故障排除。本文出自 “兵兵小
前端上传文件及其他数据后台无法获取(已解决)
由于Tomcat对于<em>文件</em>上传的请求做了处理,所有直接getParameter是获取不到的。由于我用的是servlet3.0,所以加了一个注解就可以了。贴代码:package servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import ...
shell lab 实现详解
这次的CSAPP的实验是要自己实现一个shell(外壳),即自己实现一个命令行,要自己实现一个简单的我们在linux上常用的shell,想想就让人兴奋呢。 这次的实验环境,已经给我们搭好了程序的基本框架,只需要完成shell里面的几个关键函数就可以,相关的单元测试试验都已经给出,该试验涉及的内容包括:解析命令行参数,理解并<em>使用</em>(fork,execve,waitpid)常见的多进程函数,了解linu
c#串口收发数据
c#串口接<em>收发</em>送数据  重要的几个函数 构造函数 InitializeComponent(); //为串口绑定接收数据事件 this.serialPort1.DataReceived += new SerialDataReceivedEventHandler
socket实现UDP收发消息
import socket while True: # 创建udp套接字 udp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # 设置接收方的地址和端口(根据具体情况更改) dest_addr = (&quot;255.255.255.255&quot;, 8080) # 从键盘输入数据 sen...
smack发送和接收文件
/** * 发送<em>文件</em> * @param con 用户连接对象 * @param fullJID 用户jid 形式如:demo@serviceName/Spark 2.6.3 * @param filePath <em>文件</em>路径 */ public boolean sendFiles(XMPPConnection ...
关于element-ui的upload文件上传组件使用技巧总结
关于element-ui的upload<em>文件</em>上传<em>组件</em>的<em>使用</em>技巧 简单说几点: uploader<em>组件</em><em>使用</em>中的几个常见问题和解答 1. upload<em>文件</em>类型、大小的筛选; 2. 多<em>文件</em>上传的配置; 3.<em>文件</em>列表的相关操作; 4.<em>文件</em>上传<em>成功</em>、上传失败、删除前、删除后等等状态的定义与回调等等; 5.缩略图的样式定义; 6.<em>文件</em>个数的限制; 7.上...
Windows ICS 服务无法启动问题解决方法
这篇文章主要介绍了Windows ICS 服务<em>无法</em>启动问题解决方法,同时介绍了修复这个问题的步骤,需要的朋友可以参考下 防火墙打不开肯定是"windows Firewall"服务没有启动。ICS服务启动不了可以通过以下方法解决: 1、找到本地连接,单击左键–属性–共享–勾选(√)–确定,如以上步骤不能开启ICS服务,则需进行如下操作 2、运行–输入“services.msc”–找到“interne...
NRF24L01 使用小结—1
nrf24L01被设置为接收模式后,可通过6个不同的数据通道(data pipe)接收数据。 每个数据通道都有一个唯一的地址但是各数据通道的频率是相同的。这意味着可以有6个被配置成发送状态的nRF24L01可以和一个配置成接收状态的nRF24L01通信,并且接收方可以区分(通过判断状态寄存器的1-3位即可达到区分的目的)。 数据通道0有一个唯一的40bit的可设置的地址。其余的通道1到
c# TCP发送与接收文件 监听文件
c#语言 TCP发送与接收<em>文件</em> 监听<em>文件</em> 楼主亲自测试可用
防火墙ICS服务无法启动问题
问题: 经过一番google,对于ICS<em>无法</em>启动的原因不少,最终从事件日志分析针对错误原因分析 错误描述不同处理原因也不同,如果是Access is denied,解决办法: 从一健康的主机上导出如下注册表键值,再导入到故障机上,原则是两台机的操作系统语言、版本需要一致,以避免出错. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Ser
webpack(单文件
一.确保已经安装了nodeJS之后. 二. 创建webpack-demo,我的是f盘下的, 2.然后进入这个<em>文件</em>夹: 3.进行初始化,一路都是选择默认(回车就可以): 查看初始化后的<em>文件</em>夹,里面只有一个json<em>文件</em>: 4.  接下来装webpack npm install webpack --save-dev 安装完成: 查看项目下,发现已经:   ...
Linux串口编程
linux 下串口编程详细讲解,实习uart的<em>收发</em>,解决了特殊字符<em>无法</em>发送<em>接受</em>问题
java-Socket通信,同时进行Json数据的传递
服务端 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.ServerSocket; import
为什么ServerSocket接收不到客户端Socket发送的信息?
<em>为什么</em>ServerSocket接收不到客户端Socket发送的信息? 问题代码(由于问题来源的程序代码较多,所以这里只列出相关代码):服务器端ServerSocket处理相关代码ServerSocket serversocket=new ServerSocket(10000);while(true){  socket=serversocket.accept();  bufferedread=new
javaweb服务器就收文件
主要思路: <em>使用</em>Apache<em>文件</em>上传<em>组件</em>处理<em>文件</em>上传,需要用到的几个jar包: commons-dbutils-1.2.jar commons-fileupload-1.2.1.jar commons-io-1.3.2.jar步骤: 1、创建一个DiskFileItemFactory工厂DiskFileItemFactory factory = new DiskFileItemFactor
关于Ajax前端Success后接受不到数据的问题
$(function () { $(&quot;#query_task&quot;).click(function () { // console.log(&quot;button clicked&quot;); var test = &quot;232&quot;; $.ajax( ...
中国农历 ics 文件 1941-2050 全
中国农历 <em>ics</em> <em>文件</em> 1941-2050 全。 <em>文件</em>
关于Jmail不能发送邮件问题
如果,出现连接正常,但,发送报错。检查是不是以下包没有导入lib中, 示例代码 发送用sina邮箱,在sina邮箱中要设置开放pop和smtp功能 Send.java package com.Email; import javax.mail.*; import javax.mail.Message.RecipientType; import javax.mail.internet
spring mvc接受前台formdata 文件后台无法接收到文件
今天同事接收前台传的excel的<em>文件</em> 怎么也接收不到 。用form表单却可以正常接收到 。然后我怀疑是前端的表单有问题。虽然他传的formdata里加了name 可我在input里再次加了name才可以正常接收。 可想而知input的name还是不能省下的。之前网上虽然说<em>使用</em>formdata上传<em>文件</em>并不需要form表单 可之前试了不行可能写法不同吧 前台必须加上form才行,
飞秋在VLAN间传输文件操作说明
飞秋在VLAN间传输<em>文件</em>的操作方法,使VLAN间可以高速率的传输<em>文件</em>
通过串口收发短消息
Q 用串口连接GSM手机发送和接收短消息,在应用程序中如何编程实现? Q 我们打算开发一个基于GSM短消息方式的GPS系统,如何利用SMS进行数据通信? A 首先,我们要对由ESTI制订的SMS规范有所了解。与我们讨论的短消息<em>收发</em>有关的规范主要包括GSM 03.38、GSM 03.40和GSM 07.05。前二者着重描述SMS的技术实现(含编码方式),后者则规定了SMS的DTE
使用websocket可以连接上我们的后台,但是不能发送数据和接收后台传的数据,一直在接收type:ping,这个问题哪位大佬可以帮忙解决一下
export default { data() { return { websock: null, } }, methods: { threadPoxi(){ // 实际调用的方法 ...
获取课程表使用指南
功能从管理平台整理出课程表,通过开源课程表导入到软件中,或者转成ical放入手机系统之中环境python3 仅限安卓<em>使用</em>方法0x01 获取、修改并运行代码git clone https://gitee.com/teivos/download_timetable.git cd download_timetable # 安装依赖的库<em>文件</em> pip3 install requests # 打开源码,填入自己
Socket收发数据浅析
作为一个套接字描述符,它拥有两个缓冲区,分别为接收数据缓冲和发送数据缓冲区,当套接字有数据到达时,首先进入的就是接收数据缓冲区,然后应用程序从这个缓冲区中将数据读出来,这就是套接字recv的过程,应用程序调用send发送数据实际是把数据拷贝到发送数据缓冲区,再由系统在缓冲区的数据发送出去。缓冲区的大小可以用SetSocketOpt()设定,同时操作系统对它有一个默认大小。 当套接字<em>接受</em>数据缓冲区满
windows socket编程中send与recv函数的收发数据不一致问题
这几天在<em>使用</em>windows的socket编程去做<em>文件</em>的传输,发现这个windows下的socket编程也真和以前接触过的java和C#的有很多的不同,有异步的模型也有同步的模型,为了简单起见我还是<em>使用</em>了同步阻塞模型,没想到这个阻塞也还不是想象中的阻塞,以前<em>使用</em>send发送完数据后,recv就会把数据都接完,调试了很久,发现recv老是接收的数据比send的要少,上网查了一下,大概明白recv就是只
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
FPGA学习笔记之串口收发
仿真测试 timescale 1 ps/ 1 ps define clock_period 20 module uart_ram_vlg_tst();reg clk; reg rst_n; wire Rx232_rx; wire key_in; wire Rs232_tx; wire [2:0] baud_set; reg send_en; reg press; reg [7:
java socket发送和接收文件
服务器端发送<em>文件</em>: [code=&quot;java&quot;] package test; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.ServerSocket; import java....
Struts+Hibernate+Spring入门教程及实例.rar下载
Struts+Hibernate+Spring入门教程及实例,很实用的东东噢! 相关下载链接:[url=//download.csdn.net/download/ljd19821103/218822?utm_source=bbsseo]//download.csdn.net/download/ljd19821103/218822?utm_source=bbsseo[/url]
MFC类库(分类TXT版)下载
MFC常用类,每个类整理在一个TXT文档中。 相关下载链接:[url=//download.csdn.net/download/losdaivy/2198997?utm_source=bbsseo]//download.csdn.net/download/losdaivy/2198997?utm_source=bbsseo[/url]
c# 模拟退火求解tsp问题下载
模拟退火 c# 程序求解tsp,该程序能够很好的求解tsp问题,并且具有较强的避免局部最优能力 相关下载链接:[url=//download.csdn.net/download/ldxab/2300131?utm_source=bbsseo]//download.csdn.net/download/ldxab/2300131?utm_source=bbsseo[/url]
文章热词 机器学习教程 Objective-C培训 交互设计视频教程 颜色模型 设计制作学习
相关热词 mysql关联查询两次本表 native底部 react extjs glyph 图标 成功的产品经理视频 nlp成功教育
我们是很有底线的