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 » U++ Library support » U++ MT-multithreading and servers » Bug with socket
Re: Bug with socket [message #31687 is a reply to message #31685] Sat, 19 March 2011 23:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
nlneilson wrote on Sat, 19 March 2011 18:05

Hi Mirek

What I meant by "hang" was the app would stop at this line"
if(!ClientSocket(s, "127.0.0.1", 5024)) {
I put an Exclamation("... before and after that line, the one after that line never displayed.
On a dual core one core would have CPU 98~102
On a single core it would lock up and only pushing the power button to turn the computer off, nothing else would work.

I did notice "PANIC: Missing font Times New Roman"
I spent a couple hours on the single core computer to install the MS fonts.
That probably explains why an .exe made with upp 3280 worked on that computer and not the dual core. I will not do that on the dual core since that would mean another user would have to do the same thing.

If I use the socket.cpp and socket.h from 3226 or earlier the apps .exe can be run on Win and also Linux with Wine without problems.

I will see how things go with the next update when it is released after 3280. If there are problems I can always replace the socket.cpp and socket.h from 3226 or earlier, unless that procedure gets broken.

Neil




Sorry to ask, but from this long reply I cannot decode whether the issue is fixed...Smile

Well, the font is one issue - but U++ needs at least 3 basic fonts and Times New Roman is standard font in Win32. So I guess this is not our fault.

Anyway, regarding Socket hang ups, does it work now?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XmlRpc: possible crash fixed
Next Topic: A new function to Web Package Unicode-Escape-Javascript -> Unicode
Goto Forum:
  


Current Time: Tue May 14 08:34:01 CEST 2024

Total time taken to generate the page: 0.01879 seconds