Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PseudoTcpSocket poor performance and errors #185

Open
basinilya opened this issue Sep 15, 2019 · 0 comments
Open

PseudoTcpSocket poor performance and errors #185

basinilya opened this issue Sep 15, 2019 · 0 comments

Comments

@basinilya
Copy link

I'm trying to run instances of PseudoTcpSocket on top of a DatagramSocket and for some reason the performance is very poor. For example, the transmission speed between two UDP sockets on localhost is around 100kbytes/s.

Also, after I create more than one PseudoTcpSocket, the implementation begins spitting errors like "wrong conversation number, this: 0 remote: 1".

The test is attached. It creates one instance and pumps data one way, then after two seconds it starts pumping the opposite way in another thread, then it creates another instance with a different conversation id and does the same.

PseudoTest.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant