aboutsummaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
diff options
context:
space:
mode:
authorJoe Mason <jmason@rim.com>2012-08-02 17:11:05 -0400
committerJoe Mason <jmason@rim.com>2012-08-02 18:52:31 -0400
commit84490052d45bb55dd12e82b1874d7bbb2897c0d1 (patch)
treeba06b7769de6faa13c4aa2937f2b8021d863cacd /lib/hostasyn.c
parent19035292d0982bd8b5f0464302d7d1c5a33e8e02 (diff)
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)
Diffstat (limited to 'lib/hostasyn.c')
0 files changed, 0 insertions, 0 deletions