There is a plugin mechanism in here, and the selection is automatic If you open a socket in SG realm, you'll get a SG socket. If you open a socket in RL realm, you'll get a TCP socket. To get a file socket, you'll have to build it manually. To get a pipe socket, use gras_fork, or whatever name I'll give it when I implement this.