Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Programming network applications?

Posted on 1998-12-19
2
Medium Priority
?
139 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 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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 a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

971 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