BASIC

Author Topic: SOCK_RECV manual entry change  (Read 2963 times)

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
SOCK_RECV manual entry change
« on: 2010-Jan-08 »
I think the manual page for SOCK_RECV is confusing and would like to see a change similar to the following.

Change
Quote
The return value could mean:
-2 : a non blocking socket is not ready to be read and would block. Try reading from that socket a bit later.

to
Quote
The return value could mean:
-2 : there are no network messages currently in the queue waiting to be processed. Try reading from that socket a bit later.

As it is currently written it's not clear how you determine whether there are network messages waiting to be processed or not.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10682
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: SOCK_RECV manual entry change
« Reply #1 on: 2010-Mar-08 »
ok