[sysapps/raw socket api]: New version uploaded

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]

Received on Thursday, 25 April 2013 21:48:59 UTC