Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
nlneilson is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: print the Http Request before sending it
Next Topic: I don't understand Moveable
Goto Forum:
  


Current Time: Mon Jun 09 11:54:57 CEST 2025

Total time taken to generate the page: 0.05275 seconds