Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Programming network applications?

Posted on 1998-12-19
2
Medium Priority
?
137 Views
Last Modified: 2013-11-20
I have a database app that uses Sybase SQL Anywhere that when installed by
the user exist in a single pc or as a network application. I use ODBC for
connections. Does it help to use sockets for sending and receiving data or
would just using odbc over a network just as well as if the
application/database exist on the same pc? Also if sockets are a good
solution would sockets work if the app/database exists on the same PC?

Thanks
0
Comment
Question by:eric07
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 1326435
You don't have to program this on your own. The ODBC connection string allows you to specify whether to connect to a local or remote database, and the communication is handled by the ODBC driver... Feel free to ask if you have further questions.
0
 
LVL 86

Expert Comment

by:jkr
ID: 1326436
Ooops, a little correction - the location (i.e. the server) for the database is specified when adding the ODBC data source using the control panel applet. But, nevertheless, your program doesn't have to care whether it is on a server or on a local machine...
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question