Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
请教erlang socket编程问题
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rabbit only  
View profile   Translate to Translated (View Original)
 More options Nov 3, 10:19 pm
From: rabbit only <rabbito...@gmail.com>
Date: Wed, 4 Nov 2009 11:19:49 +0800
Local: Tues, Nov 3 2009 10:19 pm
Subject: 请教erlang socket编程问题
参考http://www.trapexit.org/Building_a_Non-blocking_TCP_server_using_OTP_...现了一个tcp
server,
他的后面有一个fsm有限机负责处理各种服务,感觉这个很复杂。
想问一下,他这种实现,是不是socket连接好之后,每个通过这个socket发送的包还要让fsm来判断状态?我现在上传大文件的时候,是分块上传的,每一 块都要重新走一遍整个判断流程太复杂了,有没有简化的方法?
期待达人指教

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rabbitonly  
View profile   Translate to Translated (View Original)
 More options Nov 4, 1:41 am
From: rabbitonly <rabbito...@gmail.com>
Date: Tue, 3 Nov 2009 22:41:43 -0800 (PST)
Local: Wed, Nov 4 2009 1:41 am
Subject: Re: 请教erlang socket编程问题
问题请教yufeng大大,得到解决。
fsm不适合处理传输文件这样的连续状态,采用yufeng大大的建议,命令与传输分开处理。

在这里感谢yufeng大大,呵呵

On Nov 4, 11:19 am, rabbit only <rabbito...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karl Ma  
View profile   Translate to Translated (View Original)
 More options Nov 4, 8:49 pm
From: Karl Ma <karl...@gmail.com>
Date: Thu, 5 Nov 2009 09:49:29 +0800
Local: Wed, Nov 4 2009 8:49 pm
Subject: Re: [erlang-china:2968] Re: 请教erlang socket编程问题

得到问题答案后再贴上来,这个不错。

2009/11/4 rabbitonly <rabbito...@gmail.com>

--
Karl Ma

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Song  
View profile   Translate to Translated (View Original)
 More options Nov 4, 9:18 pm
From: Frank Song <fsong...@gmail.com>
Date: Thu, 5 Nov 2009 10:18:17 +0800
Local: Wed, Nov 4 2009 9:18 pm
Subject: Re: [erlang-china:2976] Re: 请教erlang socket编程问题

如果把解决问题的过程再贴上来,就更了不起了

2009/11/5 Karl Ma <karl...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google