Again, a very small CVS update, addressing a few issues brought to my attention by people bugging me :)
This CVS update contains:
* DHCP fix! Now the intermittent failing of DHCP and the days of getting an IP of 0.0.0.0 should be over.
* FIONREAD support (As requested)
* connect() now operates in blocking mode! If you enable non-blocking mode before calling connect, it will still return immediately indicating success, but several people have asked for blocking mode (and I’ve been planning to add it anyway, just to be more “correct”)
That’s all the feature updates at the moment, and I must apologize because they’re not very well tested at this point, but they should work. (I just don’t have the time to test today… at all)
If for some reason they don’t work, please let me know, of course.
Additionally, this is already known to some of you, but I have plans to add many new features and release a new precompiled library on friday or saturday this week – among the features planned to be added are:
select() support,shared key authentication, support for ”hidden” APs (by way of probe requests), lingering TCP connections on close (so they shut down properly), and a few other large and small items. If you have requests, please post them :)
Anyway, need to get back to work…..
RSS feed for comments on this post. | TrackBack URI
June 21st, 2006 at 5:03 pm
Thank you! :D
Antonio
June 21st, 2006 at 6:44 pm
That sounds relly nice, I’m trying to update but the CVS version does not look updated :|
June 22nd, 2006 at 2:07 am
Great work first off.
A few things I thought would be cool is if you could make it sowhen you wardrive there’s an option to save to a text file on the CF/SD or whatever, cause sometimes I find tons but I would like to make a map where the AP’s are and it would make it a lot easier to do. I had another great idea before also but i’ll have to get back to you on it.
June 22nd, 2006 at 2:48 am
Excellent update, My dhcp issues are almost over – It still doesn’t work all the time tho :(
Once a connection and DHCP/IP has been assigned by the AP. if you disconnect and try to auth with the ap again.. DHCP seems to break.
Might just be my crap of a AP – Setting static works everytime ;)
June 22nd, 2006 at 6:08 am
Kayouu – I’ve addressed this before, but the wifi lib test program isn’t designed for such things, it’s only a test so that I can be happy the system still works. Such an app wouldn’t be hard to write, but that’s not the app I’m writing – so write it yourself or ask someone else if you want it.
MrShlee – yeah :\ I don’t know what your AP is up to. Maybe when I have more time I can look at it further.
June 22nd, 2006 at 9:10 am
Sorry but how can you run dswifi?
June 22nd, 2006 at 1:11 pm
I am new in this site and i can’t find a way to donwload it… are there one?
June 22nd, 2006 at 1:55 pm
Blizzard2005: dswifi is a library, it’s not something you run, it’s something you can use to access the internet in homebrew apps you write.
L4r5: Right now the only way is through sourceforge source control – more information is given in previous posts.
(-sigh-)
June 22nd, 2006 at 2:51 pm
A game I consider porting (Gusanos) uses a non public internet library (Zoidcom). They have windows, linux and mac versions, so I figure it’s pretty portable.
Now, I wonder, is it likely that they will be able to compile it with a minimal amount of problems using your soon to be released binary, or is the wifi lib not that advanced yet?
June 22nd, 2006 at 3:09 pm
Sorry Stephen I wasnt aware that has already been talked about, i’m finally home havent had full internet for a year now. I’ll write something up if I get some free time sure it wouldnt take long just stacked with other Proj. ATM. Thanks for your time answering my allready answered Q… Keep up the work.
June 22nd, 2006 at 3:18 pm
Sausage Boy: the lib is designed to be as compatible as possible with standard unix sockets, so in theory it should work – as far as whether the required functionality is all in place, that’s a totally different story – you won’t know until you try :)
June 23rd, 2006 at 1:53 am
Hi Stephen,
Very nice indeed! I got the latest from cvs, modified the wifi_example, was able to connect with the WFC settings, and did a simple gethostbyname it works.
I’m pretty confident implementing this into DSQuake won’t be too bad after all. A question about the WFC settings, do you know how to envoke the bios call to bring up the WTC settings program? Or is that code on the NDS cartridge?
Thanks for the great work,
-john
June 23rd, 2006 at 7:46 am
now i see your point.. but about ds tunnel is there a beta version? i want to see how it works..
June 23rd, 2006 at 10:02 am
john: Cool, I’ll note that the “WFC Settings Program” isn’t part of the bios at all, it’s included in whatever games use it – that being said I am planning to eventually include an addon library to do the same sort of thing.
Blizzard2005: No, there is not a beta version of dstunnel yet, and even if there were it wouldn’t be available to the public. Just hang in there…
June 23rd, 2006 at 8:19 pm
Fantastico! =]
June 26th, 2006 at 7:37 pm
Thank you for building this. You rock!
June 27th, 2006 at 4:26 pm
I am, of course, running behind with the build I promised. -_-
I will post more when I actually do get it done.