search for: echoserv

Displaying 3 results from an estimated 3 matches for "echoserv".

Did you mean: choser
2008 Jan 06
5
Having very odd problems with UDP.
I am using eventmachine 0.8.1 on windows XP and am having very odd problems. This snippet of code gives the error that follows it. class EchoServer def receive_data data puts data send_data ">>>you sent: #{data}" if data =~ /quit/i puts "quitting" close_connection EventMachine::stop_event_loop end end end EventMachine::run { EventMachine::open_datagram_soc...
2007 Mar 29
3
Samba logging behavior on new files
...creation is done by copying file to share directory after mounting it. Log configuration of samba server is log file = /var/log/samba/%U.log log level = 2 Below is log entries when GNU/Linux is used. [2007/03/20 18:01:18, 2] smbd/open.c:open_file(245) b2bc1ir opened file outbox/echoserver read=Yes write=Yes (numopen=1) [2007/03/20 18:01:18, 2] smbd/reply.c:reply_mknew(1324) new file outbox/echoserver [2007/03/20 18:01:18, 2] smbd/close.c:close_normal_file(270) b2bc1ir closed file outbox/echoserver (numopen=0) Below is log entries when Windows is used. [2007/03/25 21:48:53, 2...
2007 Sep 14
3
epoll appears to break
...quot; then the problem goes away, and timeouts start working. Is this a known issue with epoll? The ''EPOLL'' readme file doesn''t seem to mention it. Regards, Brian. -- 8< --------- require ''rubygems'' require ''eventmachine'' module EchoServer def post_init puts "Connection from #{Socket.unpack_sockaddr_in(get_peername).inspect}" set_comm_inactivity_timeout 60 end def receive_data data send_data ">>>you sent: #{data}" close_connection if data =~ /quit/i end end EventMachine::epoll puts Eve...