Skip to content

Instantly share code, notes, and snippets.

@omo
Created September 19, 2008 15:10
Show Gist options
  • Save omo/11606 to your computer and use it in GitHub Desktop.
Save omo/11606 to your computer and use it in GitHub Desktop.
/* socket */
static VALUE socket(VALUE obj)
{
MYSQL* m = GetHandler(obj);
return INT2NUM(vio_fd(m->net.vio));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment