Html miscellaneous


  1. For duplex communication we can’t use ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    There are some existing techniques for the communication between client and server known as duplex techniques. They are Streaming, HTML5, Postback and AJAX, Long Polling, Polling. For real-time transferring of data, Streaming is the best option. Polling performs periodic requests.


  1. Messages from the server are received by ____.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    onmessage function is used for receiving messages from the server. E.g. memeDocket.onmessage = function (eve) { console.log(eve.data); }. For sending data as a string we use ArrayaBuffer and Blob.



  1. Which one is not associated with Gecko?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Gecko 7.0 includes Firefox 7.0/SeaMonkey 2.4/Thunderbird 7.0. Gecko 8.0 includes Firefox 8.0/SeaMonkey 2.5/Thunderbird 8.0. In Gecko 11.0 WebSocket API is no longer used as a prefix. In Gecko 7.0 network.websocket.max-connections is used.


  1. In desktop which browser does not support WebSocket?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    In desktops, WebSockets are supported by Chrome version-6, version-43, version-14. Edge-14 supports WebSockets. All the versions of firefox support WebSocket. Opera version-76 and version-7 do not support WebSocket. Safari version-5.0.1 and version-6.0 support WebSocket.



  1. Which of the following is the server library for Node.js?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    ws is server library and WebSocket client for Node.js. Caddy is used for proxying arbitrary commands. WebSocket under covers is used by SignalR. To use asynchronous RPC library with the bidirectional call we use JSONRPC.server.