- From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
- Date: Tue, 9 Apr 2013 16:36:51 +0200
- To: "public-sysapps@w3.org" <public-sysapps@w3.org>
- Message-ID: <7447F010-F64A-4A67-9833-0C8DB48130E7@4d.com>
Few materials / questions for the Raw Socket Meeting Use case: - Allow a Web app to work the same if installed or not with minimum specific technical code -> use WebSocket if TCPSocket not available We could provide AbstractSocket to better share interface with WebSocket, potentially in a separate document (as DOM Core?) Common interface specification doesn't necessary mean common process implementation send process can remain specific to WebSocket, UDPSocket & TCPSocket ReceivedTCPEvent should be replaced by MessageEvent used by Web Sockets, Web Workers, and defined in Cross-document messaging -> http://www.w3.org/TR/2008/WD-html5-20080610/comms.html ReceivedUDPEvent might be renamed UDPMessageEvent and extend MessageEvent onclose handler might receive a web socket defined close event http://www.w3.org/TR/websockets/#event-definitions Windows & Ringo use the term of DatagramSocket instead of UDPSocket. Would it be a more revelant name? For information -> few existing APIs - Windows StreamSocket JS API: -Web Socket: http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.streamwebsocket.aspx - TCP StreamSocket: http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.streamsocket.aspx - UDP DatagramSocket: http://msdn.microsoft.com/en-US/library/windows/apps/windows.networking.sockets.datagramsocket - StreamSocketListener: http://msdn.microsoft.com/en-US/library/windows/apps/windows.networking.sockets.streamsocketlistener - Mozilla FirefoxOS - TCPSocket: https://developer.mozilla.org/en-US/docs/DOM/TCPSocket - node.js: - net.Socket: http://nodejs.org/api/net.html#net_class_net_socket - RingoJS Socket module: - Socket, DatagramSocket, ServerSocket... http://ringojs.org/api/master/net/ [cid:71cddc.png@664421af.4e8d2da4] Alexandre Morgaut Wakanda Community Manager Email : Alexandre.Morgaut@4d.com<mailto:Alexandre.Morgaut@4d.com> Web : www.4D.com<http://www.4D.com> 4D SAS 60, rue d'Alsace 92110 Clichy - France Standard : +33 1 40 87 92 00
Attachments
- image/png attachment: 71cddc.png
Received on Tuesday, 9 April 2013 14:36:10 UTC