Documentation Home
MySQL Internals Manual

A.1.37 The vio Directory

Virtual I/O Library.

The VIO routines are wrappers for the various network I/O calls that happen with different protocols. The idea is that in the main modules one won't have to write separate bits of code for each protocol. Thus vio's purpose is somewhat like the purpose of Microsoft's winsock library.

The underlying protocols at this moment are: TCP/IP, Named Pipes (for WindowsNT), Shared Memory, and Secure Sockets (SSL).

The C programs are:

  • test-ssl.c --- Short standalone test program: SSL

  • test-sslclient.c --- Short standalone test program: clients

  • test-sslserver.c --- Short standalone test program: server

  • vio.c --- Declarations + open/close functions

  • viosocket.c --- Send/retrieve functions

  • viossl.c --- SSL variations for the above

  • viosslfactories.c --- Certification / Verification

  • --- Short standalone test program: general

  • viotest-ssl.c --- Short standalone test program: SSL

  • --- Short standalone test program: SSL connect

The older functions --- raw_net_read, raw_net_write --- are now obsolete.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.