473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

client server framework

Ok, I am looking to see if someone can point me in the direction of a
simple client server framework for passing messages between two
computers?

Basically I will have two computers on their own, isolated network. I
want to be able to pass messages from the client to a server. The
message contains a state and a command, as well as a data portion. The
data portion can be either a char*, an int, or two ints currently.

I have been looking at sockets, but am fairly new at this. I figure
before I went and invested the time upfront to learn good socket
coding standards, i'd see if there was a good framework out there.

Thanks.

If it helps, i am using Borland C++ Builder 2007. I looked at
http://linuxgazette.net/issue79/tougher.html but was unable to get it
to compile with BCB 2007. I am fairly new to both BCB 2007 and C++ as
I just switched to C++ from Delphi Pascal.

Sep 24 '07 #1
2 2477
On Sep 24, 12:20 pm, Bizio <JimmyFloyd182E...@gmail.comwrote:
Ok, I am looking to see if someone can point me in the direction of a
simple client server framework for passing messages between two
computers?

Basically I will have two computers on their own, isolated network. I
want to be able to pass messages from the client to a server. The
message contains a state and a command, as well as a data portion.
I think what you refer to as a command I might call a message
ID. Do you represent commands with an integer type?
What is the state? Why is it separate from the data portion?
The way I usually do things a message ID is the first part of
a message and there may be some header information (such as
the total length of the message) and then the data.

Brian Wood
Ebenezer Enterprises

"All things (e.g. A camel's journey through
a needle's eye) are possible it's true.
But picture how the camel feels, squeezed out
in one long bloody thread from tail to snout."

C. S. Lewis

Sep 25 '07 #2
On Sep 25, 4:20 am, Bizio <JimmyFloyd182E...@gmail.comwrote:
Ok, I am looking to see if someone can point me in the direction of a
simple client server framework for passing messages between two
computers?
RCF might fit your bill:

http://www.codeproject.com/threads/Rcf_Ipc_For_Cpp.asp
Sep 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Sue | last post by:
ASP.NET web application, data grid with several fields (Labels), table below the datagrid with several textboxes and dropdown lookup tables. When a user clicks on the "Select" button in datagrid,...
10
by: Woody Splawn | last post by:
I have been developing a ClientServer application on one machine at my office but the time has come to transfer it to the customer. The customer is running a Windows 2000 local area network. I...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
5
by: | last post by:
Hi all, HttpWebRequest, and SoapHttpClientProtocol both expose a ClientCertificates property, which can hold multiple client certificates, but on the service side, it can only receive one client...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
5
by: Yossarian | last post by:
I have a handheld running CE .NET 4.2 and I am using c# with framework 1.1 to develop a solution for syncing data that is on the handheld with the local pc. Our handheld cradles only support...
4
by: JaiPrakash Sharma | last post by:
Hi All, I have a question regarding Using a Windows based UserControl or Applications on the Web. My question is Must be the .NET Framework to be Installed on Client Machine, When any...
22
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.