腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(1954)
视频
沙龙
1
回答
readUTF
超时
java
、
json
、
blackberry
、
twitter
我在
readUTF
上用以下代码得到了超时。知道为什么吗?+ rc);String list = dataInputStream.
readUTF
浏览 0
提问于2010-04-21
得票数 0
回答已采纳
2
回答
卡在
readUTF
()中的线程
java
、
multithreading
、
sockets
、
datainputstream
DataInputStream in = new DataInputStream(server.getInputStream()); prices.setPriceValues(in.
readUTF
());prices.setPriceValues(in.
readUTF
()); pri
浏览 2
提问于2017-05-07
得票数 0
回答已采纳
1
回答
post java.lang.RuntimeException:“前进后rec#0”
hadoop
、
mapreduce
is"+input.readInt()); //this.employeeName=input.
readUTF
(); //this.employeeJoinDt=input.
readUTF
();mployeeid /
浏览 3
提问于2013-08-17
得票数 0
回答已采纳
1
回答
Java读取..cdr文件
java
、
binary
、
asn.1
、
eofexception
、
cdr
{ { arrayList.add(new Data(dis.
readUTF
(), dis.
readUTF
(), dis.
readUTF
(), dis.
readUTF
(), dis.
readUTF
(), dis.
readUTF
(),dis.
readUTF
(), dis.
readUTF
(), dis.
readU
浏览 8
提问于2022-03-02
得票数 0
回答已采纳
2
回答
在java中将字符串从客户端发送到服务器时出现问题
java
、
string
、
sockets
= null) { } String st=""; st = in.
readUTF
浏览 2
提问于2011-06-27
得票数 1
回答已采纳
1
回答
在
readUTF
()函数中阻塞的服务器
java
、
server
、
client
;String a4;out.writeUTF(Room.getAllRooms());System.out.println("Before read"); String res = in.
readUTF
(
readUTF
()永远不会变为空)
浏览 2
提问于2017-04-17
得票数 0
1
回答
简单的Java网络程序
java
、
string
= new DataOutputStream(client.getOutputStream()); /&
浏览 11
提问于2017-03-06
得票数 0
回答已采纳
3
回答
DataInputStream给予java.io.EOFException
java
、
serversocket
、
eofexception
serverSocket.accept();DataInputStream in = new DataInputStream(inFromServer);while((value = in.
readUTF
现在,当我执行这样的请求时,我会从while((value = in.
readUTF
()
浏览 0
提问于2014-04-14
得票数 1
回答已采纳
2
回答
套接字不将值保存在列表中
java
、
multithreading
、
sockets
、
arraylist
outData = new DataOutputStream(socket.getOutputStream()); outData.flush(); System.ou
浏览 1
提问于2015-06-18
得票数 0
回答已采纳
1
回答
不读utf-8标记
android
、
utf-8
、
textview
、
inputstream
、
bufferedreader
我的sdcard上有一个带有utf-8标记的.txt文件,例如:我就是这样从这个文件里读出来的: BufferedReader in; in = new BufferedReader(new InputStreamReader(new FileInputStream(file
浏览 1
提问于2016-02-09
得票数 1
回答已采纳
2
回答
通过套接字发送字符串。服务器没有接收到
java
、
string
、
sockets
、
serversocket
entering loop"); try { looprunning = false;clientSocket.close(); } do {
浏览 0
提问于2016-01-26
得票数 0
回答已采纳
1
回答
BufferedReader接受终端输入字符
java
、
input
、
bufferedreader
(); dos.writeUTF("ftp> "); input = dis.
readUTF
();
浏览 54
提问于2018-09-13
得票数 0
回答已采纳
1
回答
通过套接字查询时如何发送结果?
java
、
database
、
sockets
DataOutputStream out = new DataOutputStream(socket.getOutputStream()); { System.out.print(ID + " ");
浏览 7
提问于2014-08-11
得票数 0
回答已采纳
4
回答
WriteUTF只能每两次工作一次
java
= new DataOutputStream(new BufferedOutputStream(client.getOutputStream())); System.out.println(in.
readUTF
()); } catch (UnknownHostException
浏览 1
提问于2012-07-17
得票数 1
回答已采纳
1
回答
为什么readLine()工作,而
readUTF
()总是抛出IOException
java
我可以通过readLine(),打印数据,但是当我使用
readUTF
(),时,它总是抛出IOException。input = new DataInputStream(urlCon.getInputStream()); System.out.println(inputLine.toString());input.close(); 为什么
readUTF
()不能工作?
浏览 3
提问于2015-02-27
得票数 0
回答已采纳
1
回答
DataOutputStream not ()不工作
java
、
android
、
sockets
、
outputstream
} log ("File received"); while ((s = dis.
readUTF
浏览 2
提问于2017-01-08
得票数 1
1
回答
传递字符串到服务器- Java
java
、
string
、
sockets
、
user-interface
我在将String传递给服务器/客户端简单示例支付系统时遇到了问题。基本上我可以通过双/s,但是我想发送和接收员工的名字,这也是我的代码,它不工作,谁能帮助或建议一些东西,谢谢if (e.getSource() == calculate) { //Get the employee name, employee id, payrate & hours from the text fields double empid = Double.p
浏览 4
提问于2014-08-27
得票数 0
回答已采纳
1
回答
WindowBuilder的客户端服务器Java问题
user-interface
、
server
、
client
、
windowbuilder
="exit") { System.out.println(msg);="exit") { msg=dis.
readUTF
="exit") { msg=dis.
readUTF</
浏览 32
提问于2020-11-12
得票数 0
1
回答
莫基托不归还我所需要的
java
、
junit
、
mockito
DataInputStream dataInputStream = mock(DataInputStream.class); String s = dataInputStream.
readUTF
然后,我试图嘲弄我的DataInpuStream,我对这段代码有一种感觉: when(dataInputStream.
readUTF
()).then
浏览 0
提问于2018-08-24
得票数 2
回答已采纳
1
回答
使用RandomAccessFile时读取文件错误
java
、
android
、
java-io
、
randomaccessfile
首先,我使用这段代码在一个文件中写了两行:String filePath = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + "test1.txt"; RandomAccessFile randomAccessFile = new RandomAccessFile(filePath, "rw
浏览 8
提问于2017-07-13
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
如何高效实现Android/Java Socket 长连接通信
输入,输出流(三)
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券