| Reply | « Previous Thread | Next Thread » |
|
hi,
Why wait in a thread, to receive data from a server using the method recv() socket? thanks |
|
Quote:
Cheers, --jouni |
|
Because the recv() method is blocking, wich means that the program will stop until it receives data, freezing the application for some moments.
If you wait for data in a thread you can do some kind of timeout, show an animation during the wait or simply let the user cancel the operation. http://igordsm.googlepages.com |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Cannot to receive data from server... | ramis55 | Symbian Networking & Messaging | 0 | 2005-05-09 14:46 |
| Http send and receive data | white_dragon | General Symbian C++ | 1 | 2005-02-02 11:01 |
| call recv(),but receive no data, help me | ld_road | Mobile Java Networking & Messaging & Security | 0 | 2004-11-20 14:38 |
| Http send and receive data | white_dragon | Symbian Networking & Messaging | 2 | 2004-11-17 07:53 |
| Problem: Connect from 7650 to another Device and Receive Data | matsguenther | Bluetooth Technology | 0 | 2002-11-11 15:48 |