Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 0.8Mb


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

  • viotest.cc --- Short standalone test program: general

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

  • viotest-sslconnect.cc --- Short standalone test program: SSL connect

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


User Comments
Sign Up Login You must be logged in to post a comment.