由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 问个matlab socket问题
相关主题
一个进程如何同时做Client和Server?请教一个Socket Programming 问题(C language)
socket 会丢失数据吗?An interview project: asynchronous socket programming
求解:socket client用node.js, socket server用c++c, socket 问题
问个socket close的问题请问大牛:如何得到当前系统中有哪些socket在运行?
问个linux socket programming的问题把node.js web server放在host pc, 控制别的target system
问个游戏开发相关的问题大家node都是跑在nginx后面吗?
network programming dummy questionnode.js: how to post date (from backend socket) to the web
大家在linux下面用什么C++的IDE呢?把web service+client 包装成一个桌面GUI 软件容易吗?
相关话题的讨论汇总
话题: matlab话题: server话题: client话题: tcpip话题: socket
进入Programming版参与讨论
1 (共1页)
w**t
发帖数: 24
1
用matlab tcpip作了一个client去连matlab作的一个server. 在不退出的情况下,clie
nt第一次传的数据,server能收到,以后再传数据时,
server就没有收到过数据. Google了一下,据说是matlab socket linger的问题,可没
有找到解决办法。有人作过这个么?怎么解决的?
k**********g
发帖数: 989
2
More details please.
1. Firstly there are many TCPIP examples on MATLAB Exchange.
2. Do you use Java directly from MATLAB?
3. If you want to do something that will block the current thread, it will
block MATLAB (the GUI) too. Typically, each connection will require its own
thread (sometimes 2-3 threads per connection). Trying to do everything from
a single thread requires advanced programming skills, and will certainly
require writing your own Java classes on top of the built-in API.
w**t
发帖数: 24
3
server是用matlab作的。我用matlab 作了一个client, 也用在matlab调作java的socke
t作了一个client.这个client有一个用matlab作的gui. 不管哪个client, 都是第一次传
数据时server能收到,再传时,
server收不到数据。我也参考了Matlab exchange上的tcpip examples,
用他们的方法作的client一样有这个问题。google了一下,没找到解决方法。

own
from

【在 k**********g 的大作中提到】
: More details please.
: 1. Firstly there are many TCPIP examples on MATLAB Exchange.
: 2. Do you use Java directly from MATLAB?
: 3. If you want to do something that will block the current thread, it will
: block MATLAB (the GUI) too. Typically, each connection will require its own
: thread (sometimes 2-3 threads per connection). Trying to do everything from
: a single thread requires advanced programming skills, and will certainly
: require writing your own Java classes on top of the built-in API.

1 (共1页)
进入Programming版参与讨论
相关主题
把web service+client 包装成一个桌面GUI 软件容易吗?问个linux socket programming的问题
C++11 大家有用过吗?问个游戏开发相关的问题
*** help needed! on MATLAB GUI ***network programming dummy question
Matlab Gui Help大家在linux下面用什么C++的IDE呢?
一个进程如何同时做Client和Server?请教一个Socket Programming 问题(C language)
socket 会丢失数据吗?An interview project: asynchronous socket programming
求解:socket client用node.js, socket server用c++c, socket 问题
问个socket close的问题请问大牛:如何得到当前系统中有哪些socket在运行?
相关话题的讨论汇总
话题: matlab话题: server话题: client话题: tcpip话题: socket