|
|
| Author |
Message |
< Advanced Erlang/OTP ~ "Building a Non-blocking TCP server using OTP" bro |
| mcconnel |
Posted: Wed Dec 15, 2010 5:30 pm |
|
|
|
Joined: 14 Dec 2010
Posts: 2
|
I am very much a beginner when it comes to Erlang, and despite my best efforts over several hours I can't seem to get the tutorial application to function correctly.
When I follow the tutorial steps to connect to the server using the interactive runtime, I do get the expected response ("Hello world") back from the server. But, when I try to simply connect using telnet (on win32 and OSX) or putty (on win32) the client connects, but nothing is echoed back to the client.
I upgraded to R14B01 (on Windows XP) to see if there was a bug that had been fixed, and have tried playing around (somewhat blindly) with the socket options, but to no avail.
What am I missing? Thanks. |
|
|
| Back to top |
|
| mcconnel |
Posted: Wed Dec 22, 2010 2:18 am |
|
|
|
Joined: 14 Dec 2010
Posts: 2
|
After an absolutely ridiculous amount of troubleshooting, I believe that the answer was quite simple.
I changed the socket options to:
"{active, once}, {packet, raw}, {recbuf,1024}]" and this resolved my issue with telnet/putty clients.
This was one of the first things I tried, but it didn't work - probably did something boneheaded like forgetting to compile before testing.... |
|
|
| Back to top |
|
| jerlin09 |
Posted: Tue Aug 09, 2011 12:03 pm |
|
|
|
Joined: 09 Aug 2011
Posts: 2
|
|
| Back to top |
|
| wuji |
Posted: Fri Aug 17, 2012 8:41 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
30 years in prison if convicted on that charge. The The [h2]imitation designer *beep*[/h2] The maximum sentence for aggravated battery is 15 years.After three
of testimony from Brewer, his parents and several other boys boys cheap polo ralph lauren boys who'd witnessed the attack, a six-person jury in the
County Courthouse began deliberations Monday afternoon, but adjourned after three three cheap jordans three hours without a verdict. Tuesday's deliberations were delayed when
said they could not understand what was being said in in cheap replica *beep* in an audio recording of a conversation between Bent and
alleged accomplices taped by police following their arrest.At noon on on imitation designer *beep* on Tuesday, the jury sent a note to Broward County
Michael Robinson asking for a transcript of the recording, but but cheap polo shirts but Robinson replied that no transcript was available.Prosecutors argued that
was trying to avoid responsibility for the violence by offering offering jordan 6 olympic offering others money to hurt Brewer, who was 15 at
time. But defense attorneys claimed that Bent never intended the the cheap Ralph Lauren the attack, calling the case an example of "prosecution overkill."Robinson |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|