congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
IoBridge.maybeThrowAfterSendto
Code IndexAdd Tabnine to your IDE (free)

How to use
maybeThrowAfterSendto
method
in
libcore.io.IoBridge

Best Java code snippets using libcore.io.IoBridge.maybeThrowAfterSendto (Showing top 14 results out of 315)

origin: robovm/robovm

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: robovm/robovm

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: MobiVM/robovm

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: MobiVM/robovm

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: FlexoVM/flexovm

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.gluonhq/robovm-rt

public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && byteCount <= 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: com.gluonhq/robovm-rt

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
origin: FlexoVM/flexovm

public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException {
  boolean isDatagram = (inetAddress != null);
  if (!isDatagram && buffer.remaining() == 0) {
    return 0;
  }
  int result;
  try {
    result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterSendto(isDatagram, errnoException);
  }
  return result;
}
libcore.ioIoBridgemaybeThrowAfterSendto

Popular methods of IoBridge

  • available
  • bind
  • booleanFromInt
  • booleanToInt
  • closeSocket
  • connect
    Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'. Use timeoutMs == 0 fo
  • connectDetail
  • connectErrno
  • getSocketLocalAddress
  • getSocketLocalPort
  • getSocketOption
    java.net has its own socket options similar to the underlying Unix ones. We paper over the differenc
  • getSocketOptionErrno
  • getSocketOption,
  • getSocketOptionErrno,
  • isConnected,
  • maybeThrowAfterRecvfrom,
  • open,
  • postRecvfrom,
  • read,
  • recvfrom,
  • sendto

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • 14 Best Plugins for Eclipse
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