android Socket UDP通信

  • c7_814535
    了解作者
  • 25.2MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-07 04:21
    上传日期
android SocketUDP通信,自己写的一个demo,既可以发送,也可以接收并且成功接收后并返回给发送者一个响应表示自己成功接收到了数据,挺好用的,分享给大家,欢迎大家吐槽。需要在Client类更改下IP,IP改为要发送到目标地址的IP,两个手机的端口号要一直,可以把此demo分别运行在两个手机上,可以实现数据的传递。
ClientSocketUdp.zip
内容介绍
int anim abc_fade_in 0x7f050000 int anim abc_fade_out 0x7f050001 int anim abc_grow_fade_in_from_bottom 0x7f050002 int anim abc_popup_enter 0x7f050003 int anim abc_popup_exit 0x7f050004 int anim abc_shrink_fade_out_from_bottom 0x7f050005 int anim abc_slide_in_bottom 0x7f050006 int anim abc_slide_in_top 0x7f050007 int anim abc_slide_out_bottom 0x7f050008 int anim abc_slide_out_top 0x7f050009 int attr actionBarDivider 0x7f010040 int attr actionBarItemBackground 0x7f010041 int attr actionBarPopupTheme 0x7f01003a int attr actionBarSize 0x7f01003f int attr actionBarSplitStyle 0x7f01003c int attr actionBarStyle 0x7f01003b int attr actionBarTabBarStyle 0x7f010036 int attr actionBarTabStyle 0x7f010035 int attr actionBarTabTextStyle 0x7f010037 int attr actionBarTheme 0x7f01003d int attr actionBarWidgetTheme 0x7f01003e int attr actionButtonStyle 0x7f01005b int attr actionDropDownStyle 0x7f010057 int attr actionLayout 0x7f0100ac int attr actionMenuTextAppearance 0x7f010042 int attr actionMenuTextColor 0x7f010043 int attr actionModeBackground 0x7f010046 int attr actionModeCloseButtonStyle 0x7f010045 int attr actionModeCloseDrawable 0x7f010048 int attr actionModeCopyDrawable 0x7f01004a int attr actionModeCutDrawable 0x7f010049 int attr actionModeFindDrawable 0x7f01004e int attr actionModePasteDrawable 0x7f01004b int attr actionModePopupWindowStyle 0x7f010050 int attr actionModeSelectAllDrawable 0x7f01004c int attr actionModeShareDrawable 0x7f01004d int attr actionModeSplitBackground 0x7f010047 int attr actionModeStyle 0x7f010044 int attr actionModeWebSearchDrawable 0x7f01004f int attr actionOverflowButtonStyle 0x7f010038 int attr actionOverflowMenuStyle 0x7f010039 int attr actionProviderClass 0x7f0100ae int attr actionViewClass 0x7f0100ad int attr activityChooserViewStyle 0x7f010063 int attr alertDialogButtonGroupStyle 0x7f010087 int attr alertDialogCenterButtons 0x7f010088 int attr alertDialogStyle 0x7f010086 int attr alertDialogTheme 0x7f010089 int attr allowStacking 0x7f01009c int attr alpha 0x7f01009d int attr arrowHeadLength 0x7f0100a4 int attr arrowShaftLength 0x7f0100a5 int attr autoCompleteTextViewStyle 0x7f01008e int attr background 0x7f01000c int attr backgroundSplit 0x7f01000e int attr backgroundStacked 0x7f01000d int attr backgroundTint 0x7f0100df int attr backgroundTintMode 0x7f0100e0 int attr barLength 0x7f0100a6 int attr borderlessButtonStyle 0x7f010060 int attr buttonBarButtonStyle 0x7f01005d int attr buttonBarNegativeButtonStyle 0x7f01008c int attr buttonBarNeutralButtonStyle 0x7f01008d int attr buttonBarPositiveButtonStyle 0x7f01008b int attr buttonBarStyle 0x7f01005c int attr buttonGravity 0x7f0100d4 int attr buttonPanelSideLayout 0x7f010021 int attr buttonStyle 0x7f01008f int attr buttonStyleSmall 0x7f010090 int attr buttonTint 0x7f01009e int attr buttonTintMode 0x7f01009f int attr checkboxStyle 0x7f010091 int attr checkedTextViewStyle 0x7f010092 int attr closeIcon 0x7f0100b7 int attr closeItemLayout 0x7f01001e int attr collapseContentDescription 0x7f0100d6 int attr collapseIcon 0x7f0100d5 int attr color 0x7f0100a0 int attr colorAccent 0x7f01007e int attr colorBackgroundFloating 0x7f010085 int attr colorButtonNormal 0x7f010082 int attr colorControlActivated 0x7f010080 int attr colorControlHighlight 0x7f010081 int attr colorControlNormal 0x7f01007f int attr colorPrimary 0x7f01007c int attr colorPrimaryDark 0x7f01007d int attr colorSwitchThumbNormal 0x7f010083 int attr commitIcon 0x7f0100bc int attr contentInsetEnd 0x7f010017 int attr contentInsetEndWithActions 0x7f01001b int attr contentInsetLeft 0x7f010018 int attr contentInsetRight 0x7f010019 int attr contentInsetStart 0x7f010016 int attr contentInsetStartWithNavigation 0x7f01001a int attr controlBackground 0x7f010084 int attr customNavigationLayout 0x7f01000f int attr defaultQueryHint 0x7f0100b6 int attr dialogPreferredPadding 0x7f010055 int attr dialogTheme 0x7f010054 int attr displayOptions 0x7f010005 int attr divider 0x7f01000b int attr dividerHorizontal 0x7f010062 int attr dividerPadding 0x7f0100aa int attr dividerVertical 0x7f010061 int attr drawableSize 0x7f0100a2 int attr drawerArrowStyle 0x7f010000 int attr dropDownListViewStyle 0x7f010074 int attr dropdownListPreferredItemHeight 0x7f010058 int attr editTextBackground 0x7f010069 int attr editTextColor 0x7f010068 int attr editTextStyle 0x7f010093 int attr elevation 0x7f01001c int attr expandActivityOverflowButtonDrawable 0x7f010020 int attr gapBetweenBars 0x7f0100a3 int attr goIcon 0x7f0100b8 int attr height 0x7f010001 int attr hideOnContentScroll 0x7f010015 int attr homeAsUpIndicator 0x7f01005a int attr homeLayout 0x7f010010 int attr icon 0x7f010009 int attr iconifiedByDefault 0x7f0100b4 int attr imageButtonStyle 0x7f01006a int attr indeterminateProgressStyle 0x7f010012 int attr initialActivityCount 0x7f01001f int attr isLightTheme 0x7f010002 int attr itemPadding 0x7f010014 int attr layout 0x7f0100b3 int attr listChoiceBackgroundIndicator 0x7f01007b int attr listDividerAlertDialog 0x7f010056 int attr listItemLayout 0x7f010025 int attr listLayout 0x7f010022 int attr listMenuViewStyle 0x7f01009b int attr listPopupWindowStyle 0x7f010075 int attr listPreferredItemHeight 0x7f01006f int attr listPreferredItemHeightLarge 0x7f010071 int attr listPreferredItemHeightSmall 0x7f010070 int attr listPreferredItemPaddingLeft 0x7f010072 int attr listPreferredItemPaddingRight 0x7f010073 int attr logo 0x7f01000a int attr logoDescription 0x7f0100d9 int attr maxButtonHeight 0x7f0100d3 int attr measureWithLargestChild 0x7f0100a8 int attr multiChoiceItemLayout 0x7f010023 int attr navigationContentDescription 0x7f0100d8 int attr navigationIcon 0x7f0100d7 int attr navigationMode 0x7f010004 int attr overlapAnchor 0x7f0100b1 int attr paddingEnd 0x7f0100dd int attr paddingStart 0x7f0100dc int attr panelBackground 0x7f010078 int attr panelMenuListTheme 0x7f01007a int attr panelMenuListWidth 0x7f010079 int attr popupMenuStyle 0x7f010066 int attr popupTheme 0x7f01001d int attr popupWindowStyle 0x7f010067 int attr preserveIconSpacing 0x7f0100af int attr progressBarPadding 0x7f010013 int attr progressBarStyle 0x7f010011 int attr queryBackground 0x7f0100be int attr queryHint 0x7f0100b5 int attr radioButtonStyle 0x7f010094 int attr ratingBarStyle 0x7f010095 int attr ratingBarStyleIndicator 0x7f010096 int attr ratingBarStyleSmall 0x7f010097 int attr searchHintIcon 0x7f0100ba int attr searchIcon 0x7f0100b9 int attr searchViewStyle 0x7f01006e int attr seekBarStyle 0x7f010098 int attr selectableItemBackground 0x7f01005e int attr selectableItemBackgroundBorderless 0x7f01005f int attr showAsAction 0x7f0100ab int attr showDividers 0x7f0100a9 int attr showText 0x7f0100ca int attr singleChoiceItemLayout 0x7f010024 int attr spinBars 0x7f0100a1 int attr spinnerDropDownItemStyle 0x7f010059 int attr spinnerStyle 0x7f010099 int attr splitTrack 0x7f0100c9 int attr srcCompat 0x7f010026 int attr state_above_anchor 0x7f0100b2 int attr subMenuArrow 0x7f0100b0 int attr submitBackground 0x7f0100bf int attr subtitle 0x7f010006 int attr subtitleTextAppearance 0x7f0100cc int attr subtitleTextColor 0x7f0100db int attr subtitleTextStyle 0x7f010008 int attr suggestionRowLayout 0x7f0100bd int attr switchMinWidth 0x7f0100c7 int attr switchPadding 0x7f0100c8 int attr switchStyle 0x7f01009a int attr switchTextAppearance 0x7f0100c6 int attr textAllCaps 0x7f01002a int attr textAppearanceLargePopupMenu 0x7f010051 int attr textAppearanceListItem 0x7f010076 int attr textAppearanceListItemSmall 0x7f010077 int attr textAppearancePopupMenuHeader 0x7f010053 int attr textAppearanceSearchResultSubtitle 0x7f01006c int attr textAppearanceSearchResultTitle 0x7f01006b int attr textAppearanceSmallPopupMenu 0x7f010052 int attr textColorAlertDialogListItem 0x7f01008a int attr textColorSearchUrl 0x7f01006d int attr the
评论
    相关推荐
    • android udpsocket
      手机之间udp通信的例子
    • android udp通信示例
      功能:PC上运行一个UDP服务程序,android手机上app在局域网内发送UDP广播的方式实现远程关机操作,一个android UDP收发示例。
    • android udp传输实例
      实现了androidudp的应用,比较好的资料
    • android UDP模拟
      androidUDP示例,多个runnable,在模拟器里可以运行
    • android UDP通讯
      基于udp协议的android 通信 1 将两台手机连上同一个wifi 2 分别将两个应用装到两台手机上,启动 3 将server界面上显示的ip地址输入到sender界面的editText内 4 在sender的输入框内输入文字,点击发送 5 server会...
    • Android UDP网络通信
      Android UDP网络通信程序,简单易懂,欢迎大家下载~~
    • android udp
      androidudp调试助手。支持16进制收发
    • AndroidUDP
      AndroidUDP数据的接收与发送,可以实际运用哦
    • android UDP
      简单实现手机与电脑的UDP通讯,供初学者使用!
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档