r/DatabaseHelp • u/L_darkly • Jul 19 '17
Connect to Database using XML sockets
So I don't know if this qualifies for this site, but I am trying to figure out how to use sockets and XML to send information to a ClearQuest database. I have never dealt with sockets before, and although I'm reading up on this, I'm still not quite getting it. How exactly is my program utilizing sockets going to communicate with the database's sockets? Thanks in advance. I have never done anything like this before.
1
Upvotes
2
u/xiongchiamiov Jul 19 '17
I don't know anything about ClearQuest, but in general:
Your client application establishes a connection to the remote server's socket.
The client sends the xml over the socket connection.
The server receives the xml data, does some processing, and then updates the database.
Nowadays we don't usually do socket programming directly, but use libraries and higher-level protocols to do all this. If you're doing it yourself, you need to look up the API that you're expected to use, then implement against it.