Solved

Programming network applications?

Posted on 1998-12-19
2
131 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
List out all word 7 291
How to determine file rename from EventLog ? 2 49
Smart Camera scanning and reading information 3 106
NotAlone Challenge 20 83
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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