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 » Problem using TcpSockets
Re: Problem using TcpSockets [message #42029 is a reply to message #42028] Wed, 12 February 2014 10:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
Actually, I think you get the whole socket design wrong. I suggest some reading on 'accept'.

Anyway, if client sends a multitude of text in separate 'send's, then yours second source is right. You can replace '(true)' with something else like (!socket.IsEof()).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GuiMT compilation error on ubuntu12.04
Next Topic: [SOLVED] Unable to compile MT applications (weird assembler error with GCC on Linux i386 arch)
Goto Forum:
  


Current Time: Wed Apr 30 05:06:26 CEST 2025

Total time taken to generate the page: 0.04240 seconds