Ask a Question related to UNIX Programming, Design and Development.
-
Alex Vinokur #1
C++ stream-compatible TCP/IP sockets (Demo application)
C++ Stream-Compatible TCP/IP Sockets
------------------------------------
[url]http://alexvn.freeservers.com/s1/sock.html[/url]
[url]http://sourceforge.net/projects/cpp-sockets/[/url]
The program implements the wrappers that can be used as a iostream-compatible TCP/IP sockets.
The wrappers have been written by Maciej Sobczak: [url]http://www.maciejsobczak.com[/url]
The program also contains two demo applications.
Demo1 application has been written by Maciej Sobczak.
Demo2 application has been written by Alex Vinokur.
Demo2 Application Protocol (in general outline)
- - - - - - - - - - - - - - - - - - - - - - - -
Client's request is a packet which contains :
* request-id,
* data type (typeid(T).name()),
* data size (number of items),
* data which is a vector of items;
size of vector == number of items
The packet may contain data of any type, for instance,
vector<int>, vector<string>, vector<User-Defined-Type>.
To create the request the client analyses the reply
(on its previous request) received from the server.
Server's reply consists of several packets of
different types (subreplies).
To create the reply the server analyses the request
received from the client.
Raw Logs : [url]http://groups.google.com/groups?th=febd5696b03dfa8[/url]
=====================================
Alex Vinokur
mailto:alexvn@connect.to
[url]http://mathforum.org/library/view/10978.html[/url]
=====================================
Alex Vinokur Guest
-
Handling Object Stream / Cross Ref stream in PDF 1.4
Hi, My PDF Application handles only PDF spec 1.4 and when my Application process a PDF file generated with Acrobat ~ PDF 1.6, I see some Cross... -
Stream Location Other than application dir
Is there a way to point the FMS Application to load streams from a different directory than the one under the application. for example FMS app is... -
ANNOUNCE: CGI::Application::Demo V 1.02
The pure Perl module CGI::Application::Demo V 1.02 is available immediately from CPAN, and from http://savage.net.au/Perl-modules.html. On-line... -
application/octet-stream
I have a simple page that allows a user to upload a PDF file to my server. I am only allowing PDFs to be uploaded. Sometimes, however, instead of a... -
demo CF7 application available?
Hi, I'm testing out ColdFusion 7 and I'm looking for a sample application that shows off the new features of CF7 I can install and run and play...



Reply With Quote

