Description: 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
To Search:
File list (Check if you may need any files):
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