javascript - Websockets message loss -
when using websockets noticed message loss. trying communicate between mobile safari (client) , c#(server). using superwebsocket (opensource) server, might server bug...
but messages dropped when connection congested (when send alot of messages). "reaks" of udp me, remember reading somewhere web-sockets tcp.
is there occasion might issue "send" command in javascript, , receiving side not message?
i've been using websockets extensively in high traffic applications , in situations single lost message (in either direction) fatal. i've never seen messages lost, ever. however, recall seeing post or question somewhere same issue , person using superwebsocket server. strong suspicion there bug in superwebsocket.
do see same problem if use non-mobile browser? it's possible ios brower (i assume that's mean mobile safari) has websocket bug. i've not extensively tested browser websockets. have extensively tested chrome, firefox (with websocket enabled), , opera (with websocket enabled) on linux , windows , safari on windows.
there no occasion send in javascript allowed not reach server except if whole connection fails. if happening there bug somewhere.
Comments
Post a Comment