| # Intrafoundation Software Home Software Forums News FAQ Galleries Web Design About Us Contact Us
#### > Freeware ColdFusion Gaming DOS Windows Commercial Top All > > > |
## UDPClient (2.1) `November 24 2004` by Lewis A. Sellers product id 3 `Send related correspondence to: webmaster@intrafoundation.com` Windows COM [w/ C++ source code] ### Description This COM object UDPClient allows you to talk to anything on the Internet that uses the UDP communications protocol. UDP is part of the TCP/IP suite which powers the internet and is the "little brother" of the more famous TCP. UDP is an "unreliable connection-less" packet protocol. This means you can send small "post-it note" like messages very, very quickly between machines but there is no guarentee that the message will ever arrive. Compare this to TCP, which is slower to startup, but any data you send is automatically error-corrected and resent if lost along the way. TCP also lets you send a stream of essentially unlimited size, where UDP is limited to about 65,507 bytes at the most. A COM object (for those of you who are using this software who are not web developers but hardcore gamers) is a type of .DLL. This particular type is the kind that makes up most of the code that powers the Windows Operating System itself. They are essentially self-contained ("encapulated, object-oriented" in tech-speak) programs. Many of the applications you may use (the .EXE files) will make use of COM objects that it brings with it or that are included with the Windows Operating System. Primarily the only things of real importance these days that use UDP are: Game servers(!) such as: Quake, Half-Life, Unreal, Wheel of Time, Baldur's Gate, Diablo, Star Trek : Elite Forces, et al (well, perhaps not ALL, but most the ones that anyone cares about). Hardware-based routers (i.e., CISCOs). Packet messagers such as ICQ. For that reason most of the example code you will find here deals with the interrogation of on-line game servers. (Did I hear a small cheer go up?) Understand that this COM object provides only the elemental, base functionality you need to talk to these UDP servers. As for what you're supposed to say to them and what do the messages they send back mean, well... that's a subject for several heated on-line forum discussions and a half-dozen small project groups to ferret out. I've included example scripts written in ColdFusion meta-language (i.e, the files with those .cfm extensions) that show exactly how to talk to all the games I know how to talk to. You'll have to figure the rest out yourselves. Start by reading a games' official (or unofficial) protocol documents, if any... the rest is up to people willing to pester developers for the information or hackers with packet sniffers and a little imagination. --min ### Terms Of Use This software is Copyright (c) 2000, 2001 by Lewis A. Sellers. It is not public domain, nor is it GPL'ed, but it is very close. As long as you do not modify any files in the archive, nor add to them, nor delete any of them, and do not charge for access to said archive you may redistribute the archive as you like. You may use this software as-is with any software you wish, so long as said archive is included unmodified with proper credits and link to it's homesite is included also (http://www.intrafoundation.com/udpclient.html). You may modify and use the source code as you like -- with the understanding that if you do, you still have to include the original, unaltered archive as well as the aforementioned credits and link. You may use this software in commerical applications, whether closed-source or open-source so long as the aforementioned unaltered archive is included with the application and the aforementioned creditation and hyperlink are included. If this software is used in a released project or included in a publication you are to make reasonable efforts to contact the author and notify them as to such. The author of this software has a primary email address of: lsellers@intrafoundation.com. You use this software at your own risk. ### Version History version 1.12 `November 15 2001` (288 KB) My ASP is a bit rusty, but... I added ASP examples for Half-life, RTCW, Quake3, STEF, etc after a bit of prodding by Sakke Huhmarniemi. Fixed packetlength and packetposition bug that let "junk" number show up in asp if you weren't connected. Added packetEOF property. #### [Manual friendly version] | ### Bookmark with: Delicious StumbleUpon reddit #### > > > [ PDF Manual ] ### Download We hope you find your download of use. (478 KB) version 2.1 (`November 24 2004`) `views 2722` downloads 2152 (April 14 2008) ### Gallery There is no gallery currently available. ### Comments Leave a comment Brian Zimmerman `March 04 2004` I got this link for a friend, but we weren't sure what to do with all the files, can someone help me out? Reply to comment in forums Eric Shufro `September 06 2003` Maybe im doing it wrong, but addpacketstringN chr(128-142) excluding 129 and 141 dont work. Nor does chr(145-159) excluding chr(157). Very odd. Instead the udpclientcom sends chr(0) when any of those listed numbers that dont work appear. All other numbers between 0 and 255 work perfectly. There are 27 numbers that will not send and generate 0`s instead. Any ideas? http://eric.shufro.com Reply to comment in forums Tim K `August 16 2003` thanks so much! works like a charm! http://www.spyk.com Reply to comment in forums Eric S `July 20 2003` Doesnt work! Cant send udp traffic when the string is set to chr(0) or any length of chr(0) & chr(0) etc. Everything else is amazing - thanks - any idea why sending a nonprintable character representing a decimal data zero doesnt work? Reply to comment in forums David V `May 23 2003` Great to see an open source :) Does this work with MX I am having some problems. http://www.dvaccaro.com Reply to comment in forums David V `May 23 2003` Great to see an open source :) Does this work with MX I am having some problems. http://www.dvaccaro.com Reply to comment in forums Scott Schanke `March 11 2003` "Did I hear a small cheer go up?" Reply to comment in forums Scott Schanke `March 11 2003` "Did I hear a small cheer go up?" Reply to comment in forums oliver `January 03 2003` thank you! Reply to comment in forums aaz `January 01 2003` i need this, for cs . Thanks http://members.lycos.co.uk/aaz666/ Reply to comment in forums bayonet `December 31 2002` THX! http://www.gaingain.biz Reply to comment in forums bayonet `December 31 2002` THX! http://www.gaingain.biz Reply to comment in forums A Friot `November 25 2002` Curious about the uses...possibly with UT Reply to comment in forums A Friot `November 25 2002` Curious about the uses...possibly with UT Reply to comment in forums Jerry Johnson `November 21 2002` You rock! Reply to comment in forums Jerry Johnson `November 21 2002` You rock! Reply to comment in forums David Squires `October 22 2002` Developing a UDP Client to recieve and parse data from half life server, trying this out for source. Marist High School Reply to comment in forums David Squires `October 22 2002` Developing a UDP Client to recieve and parse data from half life server, trying this out for source. Marist High School Reply to comment in forums paul berry `October 13 2002` coming from the cfusion exchange, really excited to see there is something that may work. ill be creating some small electronics that are networked to communicate with a dbase server and a cfusion platform ITP at NYU Reply to comment in forums paul berry `October 13 2002` coming from the cfusion exchange, really excited to see there is something that may work. ill be creating some small electronics that are networked to communicate with a dbase server and a cfusion platform ITP at NYU Reply to comment in forums Jim Briggs `September 30 2002` very cool stuff, one of the only sources of cfx source examples and working code available. http://www.coirnoirknight.com Reply to comment in forums Jim Briggs `September 30 2002` very cool stuff, one of the only sources of cfx source examples and working code available. http://www.coirnoirknight.com Reply to comment in forums Abid Naser `September 07 2002` Good job http://www.smartline.co.uk Reply to comment in forums Abid Naser `September 07 2002` Good job http://www.smartline.co.uk Reply to comment in forums John Davis `September 03 2002` Does it work with media UDP streams like those you get from WM Encoder? Reply to comment in forums John Davis `September 03 2002` Does it work with media UDP streams like those you get from WM Encoder? Reply to comment in forums tom `August 27 2002` thanks-I'm downloading for the example of how to use .dll in cf. Reply to comment in forums tom `August 27 2002` thanks-I'm downloading for the example of how to use .dll in cf. Reply to comment in forums Jim `August 18 2002` Quake! http://clickculture.com Reply to comment in forums Jim `August 18 2002` Quake! http://clickculture.com Reply to comment in forums paul ihrig `August 05 2002` hey i might like some help using cf to parse through the current maprotate.cfg to strip out the map names that are being run on the server... any idea?? thx. -paul TimeLord :: Wolf Server :: 63.69.175.75:27961 TimeLord :: Wolf Server :: 63.69.175.75:27961 Reply to comment in forums paul ihrig `August 05 2002` hey i might like some help using cf to parse through the current maprotate.cfg to strip out the map names that are being run on the server... any idea?? thx. -paul TimeLord :: Wolf Server :: 63.69.175.75:27961 TimeLord :: Wolf Server :: 63.69.175.75:27961 Reply to comment in forums steve `August 03 2002` great job i tryed the quake ver and it worked but i could not get the unreal.asp to work. it looks like its for cold fusion. i run IIS 5.0 nad the unreal.asp does not work. do you have a pure ASP ver of unreal.asp one without the cold fusion code in it? Thanks again.. And good job.. Steve Reply to comment in forums steve `August 03 2002` great job i tryed the quake ver and it worked but i could not get the unreal.asp to work. it looks like its for cold fusion. i run IIS 5.0 nad the unreal.asp does not work. do you have a pure ASP ver of unreal.asp one without the cold fusion code in it? Thanks again.. And good job.. Steve Reply to comment in forums R. Benjamin `July 17 2002` I have been looking for something like this... have been trying to hard code RtCW status queries in PHP4... and has not been working out.. http://www.slaver.net Reply to comment in forums R. Benjamin `July 17 2002` I have been looking for something like this... have been trying to hard code RtCW status queries in PHP4... and has not been working out.. http://www.slaver.net Reply to comment in forums Darth Vader `July 16 2002` lets see how good this is. Skywalker Inc. Reply to comment in forums Darth Vader `July 16 2002` lets see how good this is. Skywalker Inc. Reply to comment in forums Marco `July 05 2002` Great custom tag Reply to comment in forums Paul Inglis `July 05 2002` Very nice. makes querying servers in ASP very easy http://www.thesdmclan.com Reply to comment in forums Marco `July 05 2002` Great custom tag Reply to comment in forums Paul Inglis `July 05 2002` Very nice. makes querying servers in ASP very easy http://www.thesdmclan.com Reply to comment in forums Gustavo Ganna `June 12 2002` This products are an exelent work !!! http://www.pp.net.ar Reply to comment in forums Gustavo Ganna `June 12 2002` This products are an exelent work !!! http://www.pp.net.ar Reply to comment in forums joe rubel `May 30 2002` intrest in COM nawctsd Reply to comment in forums joe rubel `May 30 2002` intrest in COM nawctsd Reply to comment in forums ferdhie `May 28 2002` thanks for your cool components‚???± http://www.websamba.com/ferdhie Reply to comment in forums ferdhie `May 28 2002` thanks for your cool components‚???± http://www.websamba.com/ferdhie Reply to comment in forums John "PebbyCat" Heslop `May 18 2002` Dont really know what this is :P, just been told that its helpful to me :/ http://www.sdcrew.co.uk/www.toworld.co.uk Reply to comment in forums John "PebbyCat" Heslop `May 18 2002` Dont really know what this is :P, just been told that its helpful to me :/ http://www.sdcrew.co.uk/www.toworld.co.uk Reply to comment in forums Brian `May 10 2002` for quake3Fortress server, thanks for writing it! D'Arcy Reply to comment in forums Brian `May 10 2002` for quake3Fortress server, thanks for writing it! D'Arcy Reply to comment in forums Neil Ramsbottom `May 01 2002` This sounds like a VERY cool component!!! Reply to comment in forums Neil Ramsbottom `May 01 2002` This sounds like a VERY cool component!!! Reply to comment in forums terje gulbrandsen `April 29 2002` I'm just so sick of clients like gamespy etc, and i want to learn programming UDP http://www.fragsonline.net Reply to comment in forums terje gulbrandsen `April 29 2002` I'm just so sick of clients like gamespy etc, and i want to learn programming UDP http://www.fragsonline.net Reply to comment in forums Alex Angelopoulos `April 01 2002` Meaning you won't sell this to 12,982 mailing lists I assume... ;) Intended use of this (and a couple of other companion components I am dowloading) is for a modular IT support console which is also goign to be freely distributed. If the UDPCLient is used, admins will be directed to download it from you. http://www.bittnet.com Reply to comment in forums Alex Angelopoulos `April 01 2002` Meaning you won't sell this to 12,982 mailing lists I assume... ;) Intended use of this (and a couple of other companion components I am dowloading) is for a modular IT support console which is also goign to be freely distributed. If the UDPCLient is used, admins will be directed to download it from you. http://www.bittnet.com Reply to comment in forums Steve Gallinger `March 05 2002` exploring tcp/udp connect from webpages to internal apps. http://www.vu.com Reply to comment in forums Steve Gallinger `March 05 2002` exploring tcp/udp connect from webpages to internal apps. http://www.vu.com Reply to comment in forums moises `March 01 2002` i hoppe it is written in delphi . lets try‚???± Reply to comment in forums moises `March 01 2002` i hoppe it is written in delphi . lets try‚???± Reply to comment in forums Devlin de Falco `January 28 2002` I am desperately looking for a way to ping ut servers and displaying them on a webpage. I'm drawing my last straws here =oS. http://www.utgames.com Reply to comment in forums Devlin de Falco `January 28 2002` I am desperately looking for a way to ping ut servers and displaying them on a webpage. I'm drawing my last straws here =oS. http://www.utgames.com Reply to comment in forums Groty `January 10 2002` Attempting to make a simple Bullsh*t Bingo game to play across our intranet during conference calls. I'm gonna get in soooooo much trouble... http://groty.com Reply to comment in forums Groty `January 10 2002` Attempting to make a simple Bullsh*t Bingo game to play across our intranet during conference calls. I'm gonna get in soooooo much trouble... http://groty.com Reply to comment in forums Meng Ding `January 04 2002` I Love It Very Much! Thank you all! ^_^ http://www.hotidc.com Reply to comment in forums Meng Ding `January 04 2002` I Love It Very Much! Thank you all! ^_^ http://www.hotidc.com Reply to comment in forums Ed Salsberg `December 06 2001` Weeeeeeeeeeee ... Thanks again! CNY Online Gamers Network Reply to comment in forums Ed Salsberg `December 06 2001` Weeeeeeeeeeee ... Thanks again! CNY Online Gamers Network Reply to comment in forums Leave a comment View all product comments/replies