HPlogo Berkeley Sockets/iX Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 5 Programming Example

Output

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

When the above program was run, it had the following output:

   Connect failed with error 245

   Accept succeeded

Note that the connect failed with error 245. This corresponds to EINPROGRESS, indicating that the connect could not complete immediately because an accept had not yet been issued. If the connection was not using the nonblocking mode, then the connect would have blocked.

Feedback to webmaster