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 » how to use the TcpSocket::Get?
how to use the TcpSocket::Get? [message #46562] Tue, 31 May 2016 07:05 Go to next message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
in "Referenct"->"SocketServer" we see
String w = s.GetLine();


it works well, but i don`t only want to revieve one line from the socket client,
so i changed to
String w = s.Get(1024);

but After several rounds,the server can`t recieve any data from client.
Re: how to use the TcpSocket::Get? [message #46563 is a reply to message #46562] Tue, 31 May 2016 10:10 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Perhaps you are in blocking mode and there is no more data?

Have you checked docs?

Mirek
Previous Topic: NTLM Authentication for HttpRequest
Next Topic: Wait for other Threads
Goto Forum:
  


Current Time: Fri Apr 19 03:40:09 CEST 2024

Total time taken to generate the page: 0.01413 seconds