Networking with C++

Hi...my name is eugene and i am currently looking for the coodings that will help me towards establishing connection between two PC on the network using C++.

For example : Computer A and Computer B

Both of this PC are connected to the network (LAN). I have an application :

Application :

MS-ACCESS is my database, I Created My front End Application Using AppWizard.
I have recordset and recordview. ODBC is my interface. The Operating System that i am using in college is Win NT 4.0.

Question:

I need the solution because i want to access the database from another computer using the networking method.


Regards

Eugene

eugene007Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
Sounds an awful lot like a homework problem.  Why don't you do some work on your own and then ask for help?
0
eugene007Author Commented:
Well..actually we haven learn about it at all......so i have 0 experince in it...it was just an opinion given to me by my lecturer...:)
0
eugene007Author Commented:
It sounds very intresting and i really dont know where to start and what to do.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

jhanceCommented:
It's a classic client/server problem.  You need two programs, one for each computer.  On the server computer, you need a "listener" that accepts incoming requests from the network, processes the request, and sends the appropriate reply.  The ODBC stuff you mentioned is what is used to process the request.  To write a listener, check out the WINSOCK functions bind(), listen(), accept(), receive(), and send().

On the client computer, you need to take some user input and generate a network request to the server.  Again, check out the WINSOCK functions connect(), send(), and receive().

That's a start....
0
KishoreS78Commented:
i agree with jhance.u need a listener
in the server side that will listen to some action from the client side
 well if u have working experience in unix check out named pipes and sockets.u could get those to communicate between the two machines.
i would advise if u r qute capable in unix handle database operations in files.just make a Bulk copy of DB in to files and do the processing using C++ coding .Hope this isnt a bad suggestion
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jhanceCommented:
Kishore,

Do you always copy other's comments and post them as your own answers?
0
eugene007Author Commented:
I am a person who is still learning...to be the champion of knowledge is to share knowledge..:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.