Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 5th, 2004, 06:02 AM
cijo cijo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 cijo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Why use ODBC when you can do it through Socket programming?

Hi,
ODBC, as we know is used to connect to remote Databases. It is also a fact that the task that ODBC does, can be done with the help of socket programming too. But can someone share their knowledge as to why we should choose ODBC over socket programming for the purpose of connecting to remote databases? In other words, what is/are the advantage(s) of using ODBC over socket programming? I need this information for making a report for an upcoming project. Can anyone help me?

Reply With Quote
  #2  
Old January 7th, 2004, 09:37 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 44 m 30 sec
Reputation Power: 8
ODBC is high level alternative to programming sockets. You supply the credentials, port and host and the ODBC driver will performing the opening, connecting, management and closing of the connection for you.
Direct socket programming removes this layer of abstraction.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Why use ODBC when you can do it through Socket programming?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT