文件名称:android-socket

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2014-04-16
  • 文件大小:
  • 51kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • rpu****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

android socket网络通信编程实例,TCP/IP Socket、ServerSocket的形式。在JAVA编程中, 经常使用java.net和javax.net包来开发socket程序,下面列出所有常用的类,并简单介绍。再此说明一下:Socket仅仅是对TCP、UDP网络接口的封装,不涉及上层协议。

  Java.net

  Java.net.Socket 客户端连接使用的TCP socket

  Java.net.DatagramSocket 客户端和服务端共同使用的UDP socket

  Java.net.ServerSocket 服务端TCP socket监听端口

  Java.netInetAddress IP地址封装类

  Java.net.DataGramPacket 通过DatagramSocket收发的数据包的封装类,包括数据和对端的IP地址、UDP端口 -android socket network communications programming examples, TCP/IP Socket, ServerSocket form of. In the JAVA programming, often using java.net package to develop socket and javax.net procedures listed below all the usual classes, and a brief introduction. Then explain this: Socket is only TCP, UDP network interface package, does not involve the upper layer protocol.

Java.net

Java.net.Socket client connections using TCP socket

Java.net.DatagramSocket client and server using UDP socket joint

Java.net.ServerSocket TCP socket server listening port

Java.netInetAddress IP address encapsulation class

Java.net.DataGramPacket DatagramSocket class by encapsulating data packets sent and received, including data and peer IP address, UDP port
(系统自动生成,下载前可以参看下载内容)

下载文件列表





android socket\android socket.doc

..............\......._server\.classpath

..............\..............\.mymetadata

..............\..............\.project

..............\..............\.settings\org.eclipse.jdt.core.prefs

..............\..............\src\server\AndroidServer.java

..............\..............\WebRoot\index.jsp

..............\..............\.......\META-INF\MANIFEST.MF

..............\..............\.......\WEB-INF\classes\server\AndroidServer.class

..............\..............\.......\.......\web.xml

..............\testSocket\.classpath

..............\..........\.project

..............\..........\AndroidManifest.xml

..............\..........\bin\classes.dex

..............\..........\...\net\testSocket\R$attr.class

..............\..........\...\...\..........\R$drawable.class

..............\..........\...\...\..........\R$id.class

..............\..........\...\...\..........\R$layout.class

..............\..........\...\...\..........\R$string.class

..............\..........\...\...\..........\R.class

..............\..........\...\...\..........\TestSocket$1.class

..............\..........\...\...\..........\TestSocket.class

..............\..........\...\resources.ap_

..............\..........\...\testSocket.apk

..............\..........\default.properties

..............\..........\gen\net\testSocket\R.java

..............\..........\proguard.cfg

..............\..........\res\drawable-hdpi\icon.png

..............\..........\...\.........ldpi\icon.png

..............\..........\...\.........mdpi\icon.png

..............\..........\...\layout\main.xml

..............\..........\...\values\strings.xml

..............\..........\src\net\testSocket\TestSocket.java

..............\android_server\WebRoot\WEB-INF\classes\server

..............\..............\.......\.......\classes

..............\..............\.......\.......\lib

..............\testSocket\bin\net\testSocket

..............\..........\gen\net\testSocket

..............\..........\src\net\testSocket

..............\android_server\src\server

..............\..............\WebRoot\META-INF

..............\..............\.......\WEB-INF

..............\testSocket\bin\net

..............\..........\gen\net

..............\..........\res\drawable-hdpi

..............\..........\...\drawable-ldpi

..............\..........\...\drawable-mdpi

..............\..........\...\layout

..............\..........\...\values

..............\..........\src\net

..............\android_server\.myeclipse

..............\..............\.settings

..............\..............\src

..............\..............\WebRoot

..............\testSocket\assets

..............\..........\bin

..............\..........\gen

..............\..........\res

..............\..........\src

..............\android_server

..............\testSocket

android socket

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org