[haiku-bugs] Re: [Haiku] #10510: Support Web Sockets (easy)

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 21 Mar 2014 06:59:43 -0000

#10510: Support Web Sockets (easy)
----------------------------------------+----------------------------
   Reporter:  pulkomandy                |      Owner:  pulkomandy
       Type:  enhancement               |     Status:  new
   Priority:  normal                    |  Milestone:  R1/beta1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:  gsoc2014
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by pulkomandy):

 This wouldn't need a busy-loop style polling. You can use the poll() or
 select() functions to have the thread sleep, and be woken up when the
 socket becomes either readable, writable, or closed.

 If this isn't conveniently done with the current BSocket API, it could be
 extended to allow for it.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10510#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: