You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: