int socketGetOption(int opt, Object iaContainerObj) throws SocketException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   int ret = TwoStacksPlainSocketImpl_c.socketGetOption(env, this, opt, iaContainerObj);
   env.ThrowPendingException();
   return ret;
 }
 void socketSendUrgentData(int data) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketSendUrgentData(env, this, data);
   env.ThrowPendingException();
 }
 void socketShutdown(int howto) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketShutdown(env, this, howto);
   env.ThrowPendingException();
 }
 void socketSetOption(int cmd, boolean on, Object value) throws SocketException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketSetOption(env, this, cmd, on, value);
   env.ThrowPendingException();
 }
 int socketAvailable() throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   int ret = TwoStacksPlainSocketImpl_c.socketAvailable(env, this);
   env.ThrowPendingException();
   return ret;
 }
 void socketClose0(boolean useDeferredClose) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketClose0(env, this, useDeferredClose);
   env.ThrowPendingException();
 }
 void socketAccept(SocketImpl socket) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketAccept(env, this, socket);
   env.ThrowPendingException();
 }
 void socketListen(int count) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketListen(env, this, count);
   env.ThrowPendingException();
 }
 void socketBind(InetAddress address, int localport) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketBind(env, this, address, localport);
   env.ThrowPendingException();
 }
 void socketConnect(InetAddress address, int port, int timeout) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketConnect(env, this, address, port, timeout);
   env.ThrowPendingException();
 }
 void socketCreate(boolean stream) throws IOException {
   ikvm.internal.JNI.JNIEnv env = new ikvm.internal.JNI.JNIEnv();
   TwoStacksPlainSocketImpl_c.socketCreate(env, this, stream);
   env.ThrowPendingException();
 }