Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: IO::Socket::INET, quake, and me...

by t0mas (Priest)
on Apr 30, 2001 at 12:06 UTC ( #76559=note: print w/ replies, xml ) Need Help??


in reply to IO::Socket::INET, quake, and me...

I think the kkrcon program (a perl script) does exactly what you try to accomplish. Have you checked it out?

Good luck and happy gaming.

/brother t0mas


Comment on Re: IO::Socket::INET, quake, and me...
Re: Re: IO::Socket::INET, quake, and me...
by snafu (Chaplain) on Apr 30, 2001 at 17:44 UTC
    No! I didn't know it existed! But I will certainly check it out! Thank you very much. (I searched everywhere for this kind of script. I must not have used the correct search keywords)

    Thanks!

    ----------
    - Jim

Re: Re: IO::Socket::INET, quake, and me...
by Rhandom (Curate) on Apr 30, 2001 at 18:02 UTC
    I wouldv'e replied to the original node but I think the html was messed up.

    You may want to look at IO::Socket::INET. You are connecting using a UDP connection, but you are trying to communicate with it as if it was a TCP connection. Quake needs the UDP. To communicate with UDP, try the following:

    my $buffer = undef; $remote_sock->send("My stuff to send",0); $remote_sock->recv($buffer,4096,0); # SOCK, LEN, OFFSET # $buffer will now contain the response

    Hope that helps...

    my @a=qw(random brilliant braindead); print $a[rand(@a)];

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://76559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2015-07-07 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls