Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method uk.co.westhawk.snmp.net.TCPSocket.create() calling method java.net.ServerSocket.<init>()


    public void create(int p7, String p8)
    {
        this.sendToHostPort = p7;
        this.receiveFromHostPort = this.sendToHostPort;
        try {
            this.locBindAddr = 0;
        } catch (java.net.SocketException v0) {
            throw new java.io.IOException(new StringBuffer().append("Socket problem: port=").append(p7).append(", bindAddr=").append(p8).append(" ").append(v0.getMessage()).toString());
        }
        if (p8 != null) {
            this.locBindAddr = java.net.InetAddress.getByName(p8);
        }
        this.serverSoc = new java.net.ServerSocket(this.sendToHostPort, 50, this.locBindAddr);
        return;
    }

Method org.apache.commons.net.DefaultSocketFactory.createServerSocket() calling method java.net.ServerSocket.<init>()


    public java.net.ServerSocket createServerSocket(int p2, int p3, java.net.InetAddress p4)
    {
        return new java.net.ServerSocket(p2, p3, p4);
    }

Method org.apache.commons.net.DefaultSocketFactory.createServerSocket() calling method java.net.ServerSocket.<init>()


    public java.net.ServerSocket createServerSocket(int p2, int p3)
    {
        return new java.net.ServerSocket(p2, p3);
    }

Method org.apache.commons.net.DefaultSocketFactory.createServerSocket() calling method java.net.ServerSocket.<init>()


    public java.net.ServerSocket createServerSocket(int p2)
    {
        return new java.net.ServerSocket(p2);
    }

Method org.spongycastle.x509.PKIXCertPathReviewer.getCRL() calling method java.net.URL.<init>()


    private java.security.cert.X509CRL getCRL(String p13)
    {
        java.security.cert.X509CRL v4_0 = 0;
        try {
            java.net.URL v5_1 = new java.net.URL(p13);
        } catch (Exception v2) {
            Object[] v8_1 = new Object[4];
            v8_1[0] = new org.spongycastle.i18n.filter.UntrustedInput(p13);
            v8_1[1] = v2.getMessage();
            v8_1[2] = v2;
            v8_1[3] = v2.getClass().getName();
            throw new org.spongycastle.x509.CertPathReviewerException(new org.spongycastle.i18n.ErrorBundle("org.spongycastle.x509.CertPathReviewerMessages", "CertPathReviewer.loadCrlDistPointError", v8_1));
        }
        if ((v5_1.getProtocol().equals("http")) || (v5_1.getProtocol().equals("https"))) {
            java.net.HttpURLConnection v1_1 = ((java.net.HttpURLConnection) v5_1.openConnection());
            v1_1.setUseCaches(0);
            v1_1.setDoInput(1);
            v1_1.connect();
            if (v1_1.getResponseCode() != 200) {
                throw new Exception(v1_1.getResponseMessage());
            } else {
                v4_0 = ((java.security.cert.X509CRL) java.security.cert.CertificateFactory.getInstance("X.509", "SC").generateCRL(v1_1.getInputStream()));
            }
        }
        return v4_0;
    }

Method com.fasterxml.jackson.databind.deser.std.JdkDeserializers$URLDeserializer._deserialize() calling method java.net.URL.<init>()


    protected java.net.URL _deserialize(String p2, com.fasterxml.jackson.databind.DeserializationContext p3)
    {
        return new java.net.URL(p2);
    }

Method android.support.v7.app.MediaRouteControllerDialog$FetchArtTask.openInputStreamByScheme() calling method java.net.URL.<init>()


    private java.io.InputStream openInputStreamByScheme(android.net.Uri p6)
    {
        java.io.InputStream v2;
        String v1 = p6.getScheme().toLowerCase();
        if ((!"android.resource".equals(v1)) && ((!"content".equals(v1)) && (!"file".equals(v1)))) {
            java.net.URLConnection v0 = new java.net.URL(p6.toString()).openConnection();
            v0.setConnectTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v0.setReadTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v2 = v0.getInputStream();
        } else {
            v2 = this.this$0.mContext.getContentResolver().openInputStream(p6);
        }
        java.io.BufferedInputStream v4_11;
        if (v2 != null) {
            v4_11 = new java.io.BufferedInputStream(v2);
        } else {
            v4_11 = 0;
        }
        return v4_11;
    }