|
|
User login
Feeds |
difference between RSocket Write / Send ans Read / Recv
|
|||||
| Sat, 2003-09-20 13:40 | |
|
Hi,
I ve got a problem with those functions, I created a connection between two TCP sockets One of those two sockets was created with the Accept method (not the listenig socket but the client socket created with Accept on the server side), when I tried to use the Write or Read methods on this socket, it works, whereas Send and Recv return KErrAccessDenied. At the client side, the four methods work. So, is there something to do so that Write and Read functions work with my socket ( Server side ) or is it impossible ? In fact I don't know how tu use the Read function since it returns when the full amount of requested data has been received, and generally, I don't know the size of data that will be read, it's why I would like to use Recv function. So, someone has an idea ? Hil |
|
Forum posts: 2029
This is probably the best choice if you don't knwo the amunt of data you may get.
Cheers,
Eric
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 21
Hil
Forum posts: 21
So, does someone has ever success doing a read on the server side ?
Forum posts: 11