Search found 43 matches

by SurreaL
Fri Dec 31, 2004 7:21 am
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

yeah I dunno.. I'm getting some funky results from the code so I'm probably going to have to drop it for now..
by SurreaL
Fri Dec 31, 2004 1:23 am
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

thanks!

progress is being made.. albeit slowly but surely, hehe
by SurreaL
Fri Dec 31, 2004 12:39 am
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

well.. I did some searching around and installed the deb package for hexedit. I then managed to hexedit the file (after being sure to back it up) I was able to figure out how to use it and took a look at the libraries file you mentioned.. anyhow, I found the function declaration, and I will assume I ...
by SurreaL
Fri Dec 31, 2004 12:09 am
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

ah.. hey that's pretty cool :) um.. how did you do that again? hehe.. I guess I'll have to find a hex editor and see if I can figure out something like that on me own!
by SurreaL
Thu Dec 30, 2004 9:14 pm
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

yeah.. that link just confirms what all the other sources have shown me, ie sendto takes 6 parameters.. not the 5 that PB is expecting.

And yes, I *was* going to try to do it in PB.. but it seems this has effectively put an end to that, heh. I suppose now I might look into writing dll's for linux..
by SurreaL
Thu Dec 30, 2004 7:56 pm
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

well.. Further experimentation has once again gotten my hopes up only to be inevitably stuck at a more crucial point :/

It seems that the function sendto_ (one which is somewhat mandatory for doing UDP programming) isn't expecting the amount of variables it should be..

both the guide I've been ...
by SurreaL
Thu Dec 30, 2004 5:06 pm
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

Hm ok so that's two flavours out of many which I can count on the constants being the same.. thanks for your input!

how about any redhat users out there? I believe the link I pasted mentioned having some code which worked on redhat and solaris and some other OS's..perhaps I can hear from one of ...
by SurreaL
Thu Dec 30, 2004 5:02 pm
Forum: Off Topic
Topic: usb mouse makes noise!!!!
Replies: 11
Views: 4980

wow that's pretty messed.. what kind of mouse is it?

Definately sounds like a mouse problem tho :/ That's even worse than the problems I have with my logitech mx500, which for some reason likes to stutter in place occasionally, or slowly drift up even when I'm not touching it..
by SurreaL
Thu Dec 30, 2004 10:34 am
Forum: Linux
Topic: Rolling my own linux networking code..
Replies: 15
Views: 6829

Rolling my own linux networking code..

Hello everyone. I finally got around to getting the proper libraries and such installed on my debian box, to be able to start tinkering with network programming using PB, within Linux. I have been pleasantly surprised that there are certain API calls which I would require which seem to be recognized ...
by SurreaL
Wed Dec 29, 2004 8:08 am
Forum: Coding Questions
Topic: dynamic memory allocation concerns
Replies: 8
Views: 2235

hey hey.. what do you know, it works :D

I suppose the square brackets [] in ASM merely de-reference a memory address to it's contents.. well now at least I understand what your code is doing alot better :) (Although I'm curious how you found out about the name of an internal PB function!)

Also you ...
by SurreaL
Mon Dec 27, 2004 2:20 pm
Forum: Coding Questions
Topic: dynamic memory allocation concerns
Replies: 8
Views: 2235

hm.. Well, Tinman, I believe I've found your original post , however it seems that this 'nasty hack' as you put it may not work anymore :/ At least.. when I tried it with this example code, it shows that somewhere around 0 memory is being freed:
;manual structure memory allocation/memory leak test ...
by SurreaL
Sun Dec 26, 2004 7:35 pm
Forum: Coding Questions
Topic: dynamic memory allocation concerns
Replies: 8
Views: 2235

Ok well I decided to write up a little test program to see exactly what would happen.. and it turns out my original fears were correct. (In other words, you were bang on, tinman!)

I also did this to try freedimension's suggestion, and see if there was any way I could free the string myself (by ...
by SurreaL
Sun Dec 26, 2004 12:19 pm
Forum: Coding Questions
Topic: dynamic memory allocation concerns
Replies: 8
Views: 2235

dynamic memory allocation concerns

Hello!

I'm in the design phase for a project which will require support for any number of dynamically created objects (structures). Inside these structures will be strings. I'm trying to think of the best way to do this in PB.. as far as I see it my options are a) PB's linked lists commands, and b ...
by SurreaL
Fri Dec 24, 2004 12:06 am
Forum: Coding Questions
Topic: weird linked list behaviour..
Replies: 7
Views: 1919

ok the post is up! Sorry for cross-posting! I originally thought this must have been something I was personally doing wrong in the source, but now it appears that that may not be so :/

Anyhow, I suppose I could always write my own "NextElement" function in the meanwhile..
by SurreaL
Thu Dec 23, 2004 11:54 pm
Forum: Coding Questions
Topic: weird linked list behaviour..
Replies: 7
Views: 1919

Same for me, GreenGiant.. It's again pretty weird to see this considering one would assume that NextElement would simply follow the structure for the linked list element (as defined in the linked list help docs), but this does not seem to be the case, as the following code exhibits:

;Linked list ...