Change return values of get_request, accept_connection and service_connection to...
authorJoe Mason <jmason@rim.com>
Thu, 2 Aug 2012 21:11:05 +0000 (17:11 -0400)
committerJoe Mason <jmason@rim.com>
Thu, 2 Aug 2012 22:52:31 +0000 (18:52 -0400)
commit84490052d45bb55dd12e82b1874d7bbb2897c0d1
treeba06b7769de6faa13c4aa2937f2b8021d863cacd
parent19035292d0982bd8b5f0464302d7d1c5a33e8e02
Change return values of get_request, accept_connection and service_connection to add a return code
for non-blocking sockets: now -1 means error or connection finished, 1 means data was read, and 0
means there is no data available now so need to wait for poll (new return value)
tests/server/sws.c