Home » Community » Newbie corner » Adding a socket to a GUI application
Re: Adding a socket to a GUI application [message #48134 is a reply to message #48129] |
Tue, 23 May 2017 07:06   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Hi
read the threads in the forum:
U++ MT-multithreading and servers.
and try a search in the upp forums for sockets.
Also do a google search on the internet for sockets.
Whether you have a gui app or not the operation of sockets is basically the same.
I use a socket to communicate from a upp c++ app with a Java app. If you stay within C++ it is a bit easier but the concept is the same. I think there is an example that comes with upp for the socket server and a client.
It will be interesting to see what you come up with for your db.
Neil
edit:
"I have to fork somewhere before the .Run() "
You may need to run the server code in a separate thread.
[Updated on: Tue, 23 May 2017 07:46] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 09 08:36:00 CEST 2025
Total time taken to generate the page: 0.07016 seconds
|