Wednesday, January 13, 2016

Multiple socket concurrency issues




            



My program to use more than one socket to connect to the server, and is executed concurrently1. RSocket multiple classes can use the same RSocketServ?
2. I tried to connect each of a corresponding class RSocket RSocketServ, but there will be eSock panic error 14, I sdk help find the reason for this error documentation (only found ESock 14, I think it is not the same it), is that what causes?
3. socket multiple concurrent transmission of data to pay attention to what the problem?
Reply:
panic is a serious error
Reply:
No one has done it in this regard
Reply:
Multiple RSocket use the same RSocketServ is no problem;
Multiple socket concurrent data should be used to deal with the moving object;
Reply:
Concurrent execution?
UDP?
TCP and multiple servers or establish a link?

IMPORT_C TInt Open (RSocketServ & amp; aServer, TUint addrFamily, TUint sockType, TUint protocol, RSubConnection & amp; aSubConnection);


Description
Opens a socket which is associated with and associates it with a RSubConnection.
Reply:
It is tcp
Multiple Socket connected to the same server
Server is serv-u
I just want to use socket achieve ftp uploads and downloads.
Passive mode
I now can transfer data up,
But
with iSocket.RecvOneOrMore (iBuffer, 0, iStatus, iDummyLength)To read the data when there will be a serious error 14 eSock panic.
After commissioning, the active object calls RecvOneOrMore request,
After completing the return iStatus is -36, it should be KErrDisconnected.
With Recv () will appear the same mistakes.
But with iSocket.Read (iBuffer, iStatus) would not be wrong, can normally receive
However, if the data transmission with Read almost complete when I do not know how to do.
As can be seen from the server and transmission speed of only 10k or so, I use ftp client download speed of 2 megabytes.
Do not know what the reason, experts gate exhibitions
Reply:
Finally know the reason data error reading the
But why speed is so slow or do not know
Sometimes only two or three k's
Will it be on the simulator so slow?
Reply:
Reply to: 2007-01-19 15:29:02
Finally know the reason data error reading the
But why speed is so slow or do not know
Sometimes only two or three k's
Will it be on the simulator so slow?

What reason is it wrong?

No comments:

Post a Comment