- From: Nilsson, Claes1 <Claes1.Nilsson@sonymobile.com>
- Date: Thu, 25 Apr 2013 23:48:29 +0200
- To: "public-sysapps@w3.org" <public-sysapps@w3.org>
- Message-ID: <6DFA1B20D858A14488A66D6EEDF26AA3010F4E5ACCD4@seldmbx03.corpusers.net>
Hi all, I have uploaded a new version of the socket API to the repository at Github: http://raw-sockets.sysapps.org/ Ke-Fong, Jonas, Marcos and Christophe have provided valuable feedback (thanks!) and compared to the previous version the following has been done: * Changed all fields in UDPOptions dictionary be not nullable * For UDPSocket added separate readonly attributes that correspond to the fields in the UDPOptions dictionary instead of having one attribute of type UDPOptions (which is illegal WebIDL-syntax) * For UDP and TCP Socket changed to just one send() method taking DOMString or Blob or ArrayBuffer or ArrayBufferView as type for the first argument , data. * Changed all fields in TCPOptions dictionary be not nullable and removed remoteAddress and remotePort. * Added remoteAddress and remotePort as explicit arguments to the TCPSocket constructor and changed options to be an optional argument. * For TCPSocket added readonly attributes for remoteAddress/Port and localAddress/Port and removed the attribute of type UDPOptions (which is illegal WebIDL-syntax). * Fixed TCPServerSocket accordingly. * Edits so that the plain html source code is more readable, e.g. shorted line lengths. The following remains to be done: - More work on support for secure sockets - Resolution on binding to local interface according to Jonas comment - Resolution on whether joining multicast group for UDP sockets should be done through separate method or through constructor according to Jonas comment. For details see issues at https://github.com/sysapps/raw-sockets/issues?page=1&state=open Best regards Claes Claes Nilsson M.Sc.E.E Master Engineer - Web Research Advanced Application Labs Sony Mobile Communications Tel: +46 705 56 68 78 sonymobile.com<http://sonymobile.com/> [cid:image001.jpg@01CE420D.DE3A64E0]
Attachments
- image/jpeg attachment: image001.jpg
Received on Thursday, 25 April 2013 21:48:59 UTC