congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Os.recvfrom
Code IndexAdd Tabnine to your IDE (free)

How to use
recvfrom
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.recvfrom (Showing top 20 results out of 315)

origin: robovm/robovm

public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, buffer, flags, srcAddress); }
public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); }
origin: robovm/robovm

public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); }
public void remove(String path) throws ErrnoException { os.remove(path); }
origin: robovm/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: robovm/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: robovm/robovm

@Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, buffer, flags, srcAddress);
}
origin: robovm/robovm

@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
}
origin: MobiVM/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: MobiVM/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: FlexoVM/flexovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.gluonhq/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
}
origin: MobiVM/robovm

@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
}
origin: com.mobidevelop.robovm/robovm-rt

@Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, buffer, flags, srcAddress);
}
origin: com.bugvm/bugvm-rt

@Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
  BlockGuard.getThreadPolicy().onNetwork();
  return os.recvfrom(fd, buffer, flags, srcAddress);
}
libcore.ioOsrecvfrom

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fdatasync,
  • fstat,
  • fstatvfs

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • BoxLayout (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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