|
Articles Get
started with SocketPro
SocketPro is great! It offers many
features that others can't provide. However, without
tasting it you will never know what SocketPro really is. This is a step by step guide on how
to set up both client and server applications for your testing. Brief
introduction of free SSL/TLS enabled non-blocking socket library
SocketPro can be free to you. This
short article gives you a brief introduction about this powerful library with a
set of samples for C++, eVC++, C# and VB.NET. Tutorials
for SocketPro
A set of tutorials that help you
quickly get used to programming with batching, asynchrony and parallel
computations using SocketPro. A
big list of features with SocketPro
Socket has a lot of wonderful
features. Many of them are unique and can not be found in other frameworks. This article shows you the data
communication over SocketPro first, and then lists a set of SocketPro key
features with simple explanations. Develop
a secure Internet application with SocketPro
SocketPro is designed with security
in mind. Keeping a few points in mind, you can develop a high secure distributed
application with two lines of code at server side and one line code at client
side. A
performance comparison between SocketPro and dotNet remoting as well
as WCF
SocketPro is written from batching,
asynchrony and parallel computation with online compressing. Socket runs
significantly faster than WCF, dotNet remoting, DCOM, Corba, Java RMI and XML/SOAP
Web service. This article shows you a performance
comparison between SocketPro and dotNet remoting/WCF with samples and source code.
A totally different
programming experience
Playing with the provided samples,
you will get a totally different programming experience. You will know batching
requests, asynchrony, synchrony, WaitAll, ......., and how SocketPro implements
these unique features. You will know how great batching, asynchrony and parallel
computation is.
High performance of remoting
ADO.NET objects cross desktop and smart devices
Remoting ADO.NET objects cross
desktop and smart devices becomes much easier and faster in SocketPro than .NET
remoting and WCF. Our SocketPro has a unique approach for remoting these key
.NET objects in batching, asynchrony and parallel fashion.
Fast and securely
access any database anywhere using all forms of networks
Do you want to securely share your
databases in real-time among a team of employees anywhere using all forms of
network access such as dial-up, DSL, cable and wireless modem as well as local
area network (LAN)? SocketPro comes with a free remote database service created
from batching, asynchrony, parallel and online compressing computation
capabilities with client/server architecture. It delivers unbeatable
performance. Although it has so many wonderful features, it is simple and easy
for your development. We believe
that SocketPro can definitely assist you to use any one of your comfortable languages
for creating such an application in just a few days.
The service makes
it possible to fast and securely share remote desktop database files such as
Access, FoxPro, Excel, dBase, Paradox, and others anywhere. You
will no longer have to ftp files back and forth between machines, which is
particularly painful when large files are involved.
You will immediately know when a change is made to the database by
someone else. No longer would you
have to waste time uploading and downloading files every time a change is made
to ensure everyone has the latest information.
Dynamic
load balancing across many real data base servers
Load balancing through SocketPro is
truly easy. See the sample project. It can reduce response time from your server
to your clients through a central SocketPro dynamic load balancing across many
replicate real database servers without any failure.
Establish your own
online notification system to distribute any messages anywhere
SocketPro has a built-in service
named as chat service. You can use it to send a message to a specific client
privately, or one or more groups of clients publicly whenever an interesting
event happens. The article is focused on the chat service and illustrates its
various uses.
Push message to any
clients directly from your backend databases
Starting from SocketPro version
5.2.0.2, you can directly push messages from your backend databases in real-time
fashion. It is superiorly fast but simple to use with SQL languages. This short
article is a development guide. At this time, SocketPro supports pushing
messages from MS SQL server, Oracle, DB2 and MySQL. We may add such a wonderful
feature to other database management systems.
Access
SocketPro server from any platforms and applications by use of HTTP protocol
Starting from version 5, SocketPro
fully supports HTTP protocol as a built-in service for integration
of SocketPro with other applications or platforms. Because SocketPro is written
with 100% non-blocking TCP communication, it is especially great for exchanging
large size of requests like downloading or uploading files by chunked streaming.
It is written with supporting key headers like multipart, chunked, and x-dom-event-stream.
SocketPro
HTTP server push
Many popular communication frameworks
do not support HTTP callback, but SocketPro does well support HTTP callback.
Also, these frameworks don't have HTTP server push feature implemented, but
SocketPro does have HTTP server push feature well completed. Additionally,
SocketPro HTTP server push is well integrated with its binary built-in chat service.
You can exchange messages among many different environments by use of push. For
example, you can directly send a message from a smart device, a window desktop
or server application to many different types of web browsers in real-time
fashion, and vice versa.
Real-time
push data onto MS Silverlight clients
It is tough to push data from HTTP
server onto MS Silverlight clients through socket and WCF PollingDuplex channel.
The former is difficult to use; and the later one is not scalable even MS itself
does not recommend it for a commercial application. Our SocketPro now comes a
very tiny but powerful library supporting both HTTP server pushes and HTTP
requests. It is superbly simple, but has much better scalability and very low
latency.
Create high performance
of asynchronous pages in asp.net with SocketPro
Starting from .NET version 2, asp.net
supports asynchronous pages out-of-box. Our SocketPro well supports ASP.NET
asynchronous pages. This sample shows you how to create asynchronous pages with
batching and parallel computation by heavy reuse of several pools of
pre-connected sockets. The implementation is unique, elegant and simple. You can
rely this approach to significantly increase your web application performance
and scalability.
Cross-browser
message and remote JavaScript callback
SocketPro is successfully integrated
with MS IE and Mozilla browsers. Now, you can use SocketPro to send or broadcast
a message from one browser to others in real-time fashion. In addition, you can
use SocketPro to implement remote JavaScript callback from C++, C#, VB.NET and
others. Further, SocketPro is able to upgrade your web application to new level.
HTTP Dynamic Loading
Balance by Software
Loading balance is well used by many
web applications to provide a single Internet service from multiple real
servers. Starting from version 5.1.0.1, SocketPro is able to provide dynamic
loading balance from software.
Network multiple
computers/processors for parallel computation
Now, all of major chips make CPUs
with multi-core architecture, which forces
developers to write software with strong concurrency or parallelism in mind. This
short article demonstrates how to partition a large but simple scientific
problem into all of networked computers and processors for reduction of
wall-clock time with parallel computation.
Serialize and
de-serialize various data
SocketPro has provided a utility
class CUQueue and ATL COM object UQueue for great data interoperatability among
VB6, C++ and dotNet development languages. With help of the
utility, you can easily serialize various data into a memory chunk and send it
to a remote end. The utility is also written to ensure great
interoperability between native and managed data types.
Known problems with
SocketPro
At
this time, SocketPro has gradually become matured with MS Window desktop and
device systems. However, it does not mean that SocketPro doesn't have any bugs
internally. We'll definitely keep on working at these bugs. We are still improving it with adding more services into SocketPro package. We are
looking forward to your feedback and questions. If you find a problem, please
report it and we'll fix it as early as possible.
Many more articles will come here .......,
and please wait and come back! |