Solved

Programming network applications?

Posted on 1998-12-19
2
129 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
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now