Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Does CSocket class support databases Pin
prithaa5-Feb-07 23:57
prithaa5-Feb-07 23:57 
AnswerRe: Does CSocket class support databases Pin
Naveen6-Feb-07 0:35
Naveen6-Feb-07 0:35 
GeneralRe: Does CSocket class support databases Pin
prithaa6-Feb-07 1:22
prithaa6-Feb-07 1:22 
GeneralRe: Does CSocket class support databases Pin
Naveen6-Feb-07 1:32
Naveen6-Feb-07 1:32 
GeneralRe: Does CSocket class support databases Pin
prithaa6-Feb-07 5:50
prithaa6-Feb-07 5:50 
GeneralRe: Does CSocket class support databases Pin
Mark Salsbery6-Feb-07 8:03
Mark Salsbery6-Feb-07 8:03 
GeneralRe: Does CSocket class support databases Pin
prithaa6-Feb-07 8:37
prithaa6-Feb-07 8:37 
GeneralRe: Does CSocket class support databases Pin
Mark Salsbery6-Feb-07 9:16
Mark Salsbery6-Feb-07 9:16 
I think it depends on the system you are developing, how it will be used, how scaleable you want
it, what the database system provides, how many concurrent users, etc.

Some advantages of writing your own server between the clients and the database server are:

Direct control over security - can provide encryption for plain-text over the network

Direct control over database connections - For example, connection pooling can be implemented to
reduce the number of server seat/connection licenses required.

I would suggest searching for articles and studying the difference between 2-tier database
connectivity (client-database) and 3-tier connectivity (client-server-database). Here's one
example: Multi Tier Architectures for Database Connectivity[^]

If you choose to do your own client-server communication then definitely study sockets -
especially if don't know what an IP address means. Sockets know nothing about the data you
are transferring. Sockets just provide the endpoints for the connection. You'll need to
come up with a scheme for transferring data that both ends understand.

Windows Sockets 2[^]

Mark
Questionmemory leak in ADO Connection & Excute methods Pin
voorugonda prashanth5-Feb-07 21:45
voorugonda prashanth5-Feb-07 21:45 
AnswerRe: memory leak in ADO Connection & Excute methods Pin
Roger Stoltz5-Feb-07 23:03
Roger Stoltz5-Feb-07 23:03 
GeneralRe: memory leak in ADO Connection & Excute methods Pin
#realJSOP5-Feb-07 23:15
professional#realJSOP5-Feb-07 23:15 
GeneralRe: memory leak in ADO Connection & Excute methods Pin
Roger Stoltz5-Feb-07 23:17
Roger Stoltz5-Feb-07 23:17 
QuestionException in VC++ Code. Pin
T.RATHA KRISHNAN5-Feb-07 21:27
T.RATHA KRISHNAN5-Feb-07 21:27 
QuestionRe: Exception in VC++ Code. Pin
prasad_som5-Feb-07 21:31
prasad_som5-Feb-07 21:31 
AnswerRe: Exception in VC++ Code. Pin
kakan5-Feb-07 21:35
professionalkakan5-Feb-07 21:35 
AnswerRe: Exception in VC++ Code. Pin
Michael Dunn5-Feb-07 22:36
sitebuilderMichael Dunn5-Feb-07 22:36 
AnswerRe: Exception in VC++ Code. Pin
Hamid_RT6-Feb-07 0:11
Hamid_RT6-Feb-07 0:11 
AnswerRe: Exception in VC++ Code. Pin
ThatsAlok6-Feb-07 19:55
ThatsAlok6-Feb-07 19:55 
Questionassigning string value to CDBVariant Pin
prithaa5-Feb-07 21:23
prithaa5-Feb-07 21:23 
AnswerRe: assigning string value to CDBVariant Pin
prasad_som5-Feb-07 22:52
prasad_som5-Feb-07 22:52 
GeneralRe: assigning string value to CDBVariant Pin
prithaa5-Feb-07 23:44
prithaa5-Feb-07 23:44 
GeneralRe: assigning string value to CDBVariant Pin
prasad_som6-Feb-07 0:33
prasad_som6-Feb-07 0:33 
AnswerRe: assigning string value to CDBVariant Pin
Naveen6-Feb-07 0:49
Naveen6-Feb-07 0:49 
QuestionConvert DWG/BMP image file to PNG image format Pin
helpcode5-Feb-07 20:39
helpcode5-Feb-07 20:39 
AnswerRe: Convert DWG/BMP image file to PNG image format Pin
Hamid_RT5-Feb-07 20:54
Hamid_RT5-Feb-07 20:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.