search for: tcpsocket

Displaying 20 results from an estimated 45 matches for "tcpsocket".

Did you mean: tcp_socket
2004 Aug 06
1
Compiling Darkice
I'm compiling Darkice on a FreeBSD 4.6.2 box. Everything works up to this point after I type "make"...then I get this error. Any ideas? Thanks, Matt teststream# make make all-recursive Making all in src source='TcpSocket.cpp' object='TcpSocket.o' libtool=no depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo' depmode=gcc /bin/sh ../depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pedantic -Wall -c -o TcpSocket.o `test -f 'TcpSocket.cpp' || echo './'`TcpSocke...
2004 Aug 06
1
Compiling Darkice
...cel wrote: > I'm compiling Darkice on a FreeBSD 4.6.2 box. > > Everything works up to this point after I type "make"...then I get this error. Any ideas? > > Thanks, > Matt > > teststream# make > make all-recursive > Making all in src > source='TcpSocket.cpp' object='TcpSocket.o' libtool=no depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo' depmode=gcc /bin/sh ../depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pedantic -Wall -c -o TcpSocket.o `test -f 'TcpSocket.cpp' || echo './'`TcpSocke...
2007 Sep 25
0
TCPSocket.new Errno::EBADF: Bad file descriptor error
Im trying to use memcache-client, but there is a line in their where it calls: TCPSocket.new(host, port). It fails at this point. I''ve tried just trying to establish a connection in my script/console with TCPSocket.new("localhost", 11211) TCPSocket.new("127.0.0.1", 11211) TCPSocket.new("<my comp name>", 11211) TCPSocket.new("<my ip...
2013 Jan 10
0
TCPSocket in controller action
Hi, in order to stream a file I am making use of TCPSocket. Unfortunately I dont receive contents when in use the tcpsocket in a rails controller action while it is working on console. url = "http://www.google.de" version = request.env[''HTTP_VERSION''] verb = request.env[''REQUEST_METHOD''] # u...
2010 May 31
0
TCPSocket.new(host,port).readline hangs on windows :(
Hi Guys I am starting a new thread as it seems my gripe isnt to do with Juggernaut but with TCPSocket - which is used by Juggernaut. Turns out that the thing that actually hangs up in Juggernaut after x (130/1500/16000) iterations of (1..1000).each {|i| Juggernaut.show_clients} Is actually the line res << @socket.readline(CR) if response in juggernaut.rb. Seems @socket.readline behaves...
2008 Aug 14
4
Stateful Webmail
Hello, I'm a developer on the Orbited project (http://www.orbited.org), which provides a TCPSocket interface in javascript (emulated over HTTP using ajax and comet.) This TCPSocket allows true bi-directional communication between a web browser and an arbitrary tcp server. One of the other developers pointed me to a recent dovecot thread about webmail. Sorry for the new thread (I just joined this...
2004 Aug 06
1
DarkIce make problem
Yea, I figured it out...brain fart on my part. Got it working, but getting some sort of TCPSocket error now... still trying. :) [root@jabez etc]# darkice -c /usr/local/etc/darkice.cfg DarkIce 0.6 live audio streamer, http://darkice.sourceforge.net Copyright (c) 2000-2001, Tyrell Hungary, http://tyrell.hu Using config file: /usr/local/etc/darkice.cfg Using POSIX real-time scheduling, priorit...
2001 Feb 27
1
Winamp plugin; http streaming
...----=_NextPart_000_0093_01C0A035.B08D3950" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Changing this line from httpstream.c in the BufferThread function: bytesRead =3D recv(pThreadData->tcpSocket, pThreadData->circularBuffer + = pThreadData->circularBufferEnd, 1, 0); to read as follows: bytesRead =3D recv(pThreadData->tcpSocket, pThreadData->circularBuffer + = pThreadData->circularBufferEnd, bytesToRead, 0); peeds up streaming noticeably, as the plug-in doesn't spend h...
2006 Mar 08
4
Performance with many look-up tables
Hi, I have an app - a first cut ROR - so it''s a bit of a mess. I''m now trying to clean it up. The app relies on a heap of look-up tables that are, by and large, static. I''m wondering where and how to initialise these collections once - so that I don''t have to keep hitting the database every time I start a new action. Can I initialise the collections at the
2006 Feb 15
1
Newbie Question: I want to open a socket on another server
Help! I need someone to get me in the right ballpark. I''ve been going around in circles for the last 24 hours. I want to open a TCPsocket on another server and eventually send and receive XML which is what the other servers speaks. I have both "Agile Web...with Ruby" and "Programming Ruby" but can find no examples. I''ve poured over the forum list, too. I''ve played with examples such as: <...
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
...t;)'' ruby -rsocket -e ''p Socket.getaddrinfo("IP_OF_SMTP", "smtp")'' So it doesn''t appear to be a firewall, proxy or other configuration issue on the box that''s causing the problem. Also, a small Ruby program that invokes "TCPsocket.new" on port 25 of the SMTP server works correctly on the Linux box, and another small Ruby program that invokes "Net::SMTP.start" directly (ie. outside of Rails) to deliver an email via the same SMTP server correctly delivers the email from that Linux box... it''s just R...
2006 Sep 01
11
mongrel thread safety and global variables
In environment.rb file, I initialize a connection to some data vending servers, through TCP sockets. The connection object is global and hence the code: #environment.rb $generic_connection = ConnectionClass.instance (singleton class) $generic_connection.connect_me( this call will make the connection) The above approach is to make sure that, only one connection is made to the data vending
2004 Aug 06
7
Darkice CVS
Akos, have tried to use the CVS for the last few days (following instructions on sourceforge) but it keeps timing out. Anything going on with the CVS Server? Gary. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word
2004 Aug 06
1
DarkIce problem
dimanche 3 mars 2002, 23:05:21, Cédric Mallet a écrit : > I have installed DarkIce from the latest rpm version. > I get this error message when running it : > TcPSocket.cpp:197 : gethostbyname error > Does anyone know what it means ? <p>A hint : according to the man this function is linked to /etc/hosts, which contains only one line : 127.0.0.1 I replaced my DNS with my IP (not successfully...), and with 127.0.0.1 in /etc/darkice/cfg. Now I get another...
2003 Aug 11
1
am getting an error in darkice fonfig file need some help please.
...sage I need help on trouble shooting this one. [root@hank darkice]# ./run_darkice DarkIce 0.13.1 live audio streamer, http://darkice.sourceforge.net Copyright (c) 2000-2003, Tyrell Hungary, http://tyrell.hu Using config file: etc/darkice.cfg Using POSIX real-time scheduling, priority 98 DarkIce: TcpSocket.cpp:197: gethostbyname error [11] of which i have no idea, but let me look around a little. <p><p>Dave St John CEO Mediacast1 www.mediacast1.com - Got Bandwidth? <p>can you help me fix this error? --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepag...
2010 Jun 14
0
Sockets are Killing Me!
I''ve been trying to interface to the onlineNIC API which uses sockets. The following 4 lines of test code illustrate my problem: socket=TCPSocket::new(''ip'',''port'') puts("Connect:\n"+socket.read()+"\n\n") socket.print(login_request) puts("Login:\n"+socket.read()+"\n\n") In the actual code the real IP address and port number are substituted for ''ip''...
2004 Aug 06
1
DarkIce problem
...ssage ----- From: "Cédric Mallet" <malletc3@cti.ecp.fr> To: <icecast@xiph.org> Sent: Sunday, March 03, 2002 2:05 PM Subject: [icecast] DarkIce problem <p>> I have installed DarkIce from the latest rpm version. > I get this error message when running it : > > TcPSocket.cpp:197 : gethostbyname error > > Does anyone know what it means ? > > -- > Ced > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-r...
2004 Jun 13
0
[Bug 1457] New: writefd_unbuffered failed to write
...oot@markf78 zip750]# rsync -vr /home/zip750 /mnt/zip/zip750 building file list ... done zip750/#canadienkings.txt# zip750/C/2b.c zip750/C/fileio.h zip750/C/hash.c zip750/C/hash.h zip750/C/httpfn.c zip750/C/httpfn.h zip750/C/random.c zip750/C/random.h zip750/C/stringfn.c zip750/C/stringfn.h zip750/C/tcpsocket.c zip750/C/tcpsocket.h zip750/JPEGs/Diploma.jpg (snip) zip750/backups/Linux/Xmms/xmms-1.2.10-1.i386.rpm zip750/backups/Linux/Xmms/xmms-alsa-1.2.10-1.i386.rpm zip750/backups/Linux/dd_rescue-1.03.tar.gz zip750/backups/Linux/ghex-2.4.0.1-0.fdr.4.1.i386.rpm zip750/backups/Linux/kernel-2.6.3-2.1.253.2...
2013 Nov 05
4
Handling closed clients
...ener_names end + + # ensure that EOFError from client code is not ignored + def test_eof_app + teardown + app = lambda { |env| raise EOFError } + # [200, {}, []] } + redirect_test_io do + @server = HttpServer.new(app, :listeners => [ "127.0.0.1:#@port"] ) + @server.start + end + sock = TCPSocket.new(''127.0.0.1'', @port) + sock.syswrite("GET / HTTP/1.0\r\n\r\n") + assert_match %r{\AHTTP/1.[01] 500\b}, sock.sysread(4096) + assert_nil sock.close + lines = File.readlines("test_stderr.#$$.log") + assert lines.grep(/app error:/) + end + + def test_file_stream...
2001 Oct 06
3
DarkIce make problem
Using RH71. Got Lame, Vorbis, gcc3 and everything installed. When I try to make DarkIce I get this error. Can anyone help? $ make make all-recursive make[1]: Entering directory `/usr/src/download/darkice-0.6' Making all in src make[2]: Entering directory `/usr/src/download/darkice-0.6/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -c DarkIce.cpp In file included from