Solved

Programming network applications?

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating Labels and Frequency list style reports in SAS code 9 129
Process filename extension 3 218
Change to event 1 137
Increment column based of a FK 8 68
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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