ovek
Community Member

Posts: 385
|
 |
« on: October 16, 2007, 07:14:13 AM » |
|
Hey fellow dev's. Ive released the long awaited, much anticipated Nading Network Library! It is stable and already in use in a few projects. I've included some sample applications so you can learn how to use the lib since I failed to produce any documentation yet(just IM me if you need help). You can find the latest client and server dll's here along with some vb sample apps to get you started: http://www.kevinnading.com/nading.network.library/Looking for suggestion on more features to add. Contact me via: ICQ: 3776464 YIM: kevinnading at yahoo dot com MSN: kevinnading at hotmail dot com EMAIL: kevin at kevinnading dot com thanks, ovek
|
|
|
|
|
Logged
|
|
|
|
|
newborn
|
 |
« Reply #1 on: October 16, 2007, 07:56:45 AM » |
|
yay ovek!!
will surely look into this, thanks a bunch!
|
|
|
|
|
Logged
|
|
|
|
|
BlindSide
|
 |
« Reply #2 on: October 16, 2007, 12:47:30 PM » |
|
I've spent a few hours playing around with this, and I can attest to its ease-of-use. While my test projects haven't been anything strenuious yet, I can at least say that Ovek's lib just works. Simply that - you add it to your project and it'll just work, no other frustration (this seems to be a rarity).
I'm quite pleased with what I've found so far and have already decided to switch over from the Lidgren lib (another excellent lib imho, if UDP is your cause).
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #3 on: October 16, 2007, 01:00:43 PM » |
|
I've spent a few hours playing around with this, and I can attest to its ease-of-use. While my test projects haven't been anything strenuious yet, I can at least say that Ovek's lib just works. Simply that - you add it to your project and it'll just work, no other frustration (this seems to be a rarity).
I'm quite pleased with what I've found so far and have already decided to switch over from the Lidgren lib (another excellent lib imho, if UDP is your cause).
thanks BlindSide.. the idea of the lib is to make it simple enough that you dont have to waste any of your time learning networking stuff. btw.. dont tell anyone.. udp will also be in the lib eventually where you just specify the means to which the packet is sent tcp/udp super simple 
|
|
|
|
|
Logged
|
|
|
|
|
Makubab
|
 |
« Reply #4 on: October 21, 2007, 12:46:34 PM » |
|
Hello, I like the idea of this, and so I downloaded and tested the test applications and got these errors when I connected the client to the server: Cross-thread operation not valid: Control 'txtPacketViewer' accessed from a thread other than the thread it was created on. This error occurred on both client and server. On the server it occurred here: (line 36) .AppendText(Client.ToString & " - connected!" & ControlChars.NewLine) On client: (line 25) .AppendText(PacketHolder.PacketType & " - " & PacketHolder.Packet & " - " & myclient.AverageBytesPerSecondTotal & ControlChars.NewLine)
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #5 on: October 21, 2007, 01:28:50 PM » |
|
hey Makubab.. thats a cross thread error when accessing a windows form from within an event delegate. its actually just a warning that vs 2005 catches these days.. if you compile and run the exe's it works fine. has nothing to do with the lib.. its just that i wrote the sample apps very quickly and did abide by microsoft's new rules.. however you can fix that if you wish to use the same method.. simply invoke the windows form control through a delegate and you're set.
personally id say use the console based samples as they abide by all rules and are thread safe/fast
also.. there is an internal packet queue you can enable and bypas using the events altogether.
i have a 3d sample world now complete.. im doing cleanup for packaging.. if you want it ahead of time or want to test with me shoot me a msg!
|
|
|
|
|
Logged
|
|
|
|
|
Valcriss
|
 |
« Reply #6 on: October 21, 2007, 03:58:56 PM » |
|
You can also add Control.CheckForIllegalCrossThreadCalls = False somewhere before this call occur.
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #7 on: October 21, 2007, 04:05:33 PM » |
|
good to know valcriss, thanks buddy! maybe ill toss that into the samples to make it simpler on people
|
|
|
|
|
Logged
|
|
|
|
|
racingspider
|
 |
« Reply #8 on: December 05, 2007, 07:51:15 PM » |
|
NATs and Firewalls? Does your network library handle these nefarious NATs?
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #9 on: December 05, 2007, 08:06:20 PM » |
|
yea, works fine behind or in front of them.. with firewalls you need to open a port and map it to the server if hosting from behind of course
|
|
|
|
|
Logged
|
|
|
|
|
Gamecode
|
 |
« Reply #10 on: December 27, 2007, 04:00:05 PM » |
|
can it use in vb6 ?
|
|
|
|
|
Logged
|
aiR Captains - RC aircraft project TV65
|
|
|
|
Raine
|
 |
« Reply #11 on: December 27, 2007, 06:13:27 PM » |
|
The primary focus of the library is to provide an easy to use yet powerful .NET Framework based lib ...that's the first lines of the lib website.
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #12 on: December 27, 2007, 09:21:52 PM » |
|
can it use in vb6 ?
I am sorry but the net lib does not have vb6 support. just vb.net, c#, and managed c++
|
|
|
|
|
Logged
|
|
|
|
|
Taneas
|
 |
« Reply #13 on: October 08, 2008, 02:03:41 PM » |
|
hmmmm.... Site doesn't exist anymore  Anyone have any good alternatives that are easy to use and supported well? I was using this but kept hitting roadblocks.
|
|
|
|
|
Logged
|
|
|
|
ovek
Community Member

Posts: 385
|
 |
« Reply #14 on: October 08, 2008, 02:15:11 PM » |
|
sorry guys.. moved my site to another server and havent put the files back up yet.. hope to have back up within a couple weeks as well as start active development again. good to see all of you!
|
|
|
|
|
Logged
|
|
|
|
|
Taneas
|
 |
« Reply #15 on: October 08, 2008, 02:58:40 PM » |
|
Did you ever look into the thing I posted on your forum?
I took your sample's, and I made it send 3 packets at one time.
The 3rd one never reaches the server and I don't know what it is.
I would gladly continue to use this library but I really need to have that working..
|
|
|
|
|
Logged
|
|
|
|
|