• 大小: 4.97MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-02
  • 语言: C#
  • 标签: TCP  

资源简介

基于TCP的C#实现SERVER端代码,适合初学者入门掌握完成SOCKET编程

资源截图

代码片段和文件信息

package com.example.UserSoftwareAndroidTemplate;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.example.UserSoftwareAndroidTemplate“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-07-29 03:19  ClientServerProject-master\
     文件        2518  2018-07-29 03:19  ClientServerProject-master\.gitattributes
     文件        3755  2018-07-29 03:19  ClientServerProject-master\.gitignore
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\
     文件         118  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.gitignore
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\caches\
     文件         537  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\caches\build_file_checksums.ser
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\codestyles\
     文件        1775  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\codestyles\Project.xml
     文件         626  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\gradle.xml
     文件        1707  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\misc.xml
     文件         367  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\modules.xml
     文件         564  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\.idea\runConfigurations.xml
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\
     文件           7  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\.gitignore
     文件        1282  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\build.gradle
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\libs\
     文件      130139  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\libs\HslCommunication.jar
     文件         751  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\proguard-rules.pro
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\java\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\java\com\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\java\com\example\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\java\com\example\UserSoftwareAndroidTemplate\
     文件         779  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\androidTest\java\com\example\UserSoftwareAndroidTemplate\ExampleInstrumentedTest.java
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\main\
     文件        1469  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\main\AndroidManifest.xml
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\main\java\
     目录           0  2018-07-29 03:19  ClientServerProject-master\AndroidTemplate\app\src\main\java\com\
............此处省略606个文件信息

评论

共有 条评论