congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
RawSocket.create
Code IndexAdd Tabnine to your IDE (free)

How to use
create
method
in
libcore.net.RawSocket

Best Java code snippets using libcore.net.RawSocket.create (Showing top 7 results out of 315)

origin: robovm/robovm

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: MobiVM/robovm

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: com.bugvm/bugvm-rt

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: ibinti/bugvm

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: FlexoVM/flexovm

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
origin: com.gluonhq/robovm-rt

/**
 * Creates a socket on the specified interface.
 */
public RawSocket(String interfaceName, short protocolType)
  throws SocketException {
  mInterfaceName = interfaceName;
  mProtocolType = protocolType;
  fd = new FileDescriptor();
  create(fd, mProtocolType, mInterfaceName);
  guard.open("close");
}
libcore.netRawSocketcreate

Popular methods of RawSocket

  • close
    Closes the socket. After this method is invoked, subsequent read/write operations will fail.
  • recvPacket
  • sendPacket

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • JLabel (javax.swing)
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now