may i ask why you were trying to find the remote address of a connection-oriented socket? if it is a client socket (i.e. you initiated the TCP connection with connect()), then you had to specify the address/port. if it is a server socket (i.e. returned by accept()), then the remote address and...
i've looked around for quite a while now, but can't find any reasonable solution for this. i'm trying to write a function that takes variable arguements (i.e. has char * fmt and '...' as two of its parameters), finds out how many bytes the resulting string formed by the arguement list will be...
sorry i haven't been on this forum in a while...
yes, i solved the problem, and sadly it was my own naivette. u see, i am used to debugging non-assembler code with msvc++, and in the debugger when u are running a recursive function and u "step over" a function call, the debugger will...
something very strange when i'm debugging with msvc++ 6...
if i step into every function call, esp doesn't get screwed up. however, if i step over a function call, it gets changed.
to be more detailed, there are two sections of the recursive function, one to handle leaf nodes and one to...
i would have posted the code in the first place but it is kind of long.
obviously there is something i'm not doing right, i just can't tell what it is. but as long as i know that nothing else *should* be happening to the stack, then i know it's a bug in my code and i can eventually find it, as...
i wrote a recursive function to search a tree structure, and i'm having problems with the code. the value of esp is not getting preserved over the recursive calls, but the strange thing is that as far as i can tell, upon every function entrance and corresponding function exit, the value is the...
when i was first learning the instruction set, i didn't read the descriptions of all the different jumps. i just assumed there were more or less the same (e.g. ja and jg) and just had different mnemonics. when i read the fine print, it became a little clearer.
i'm sort of a newbie to assembly, but have been a C programmer for a long time, so i'm not clueless about this stuff...
that being said, i am trying to compare a value agaist -1, (that is, 4294967295). for some reason, the sign bit is not getting set when i do this. i've tried js and jl, but...
does anyone know how to get gdi functions (i.e. ellipse, textout, etc.) to draw to the alpha channel of a dc as well as the rgb channels? i'm already aware of the callback functionality with the LineDDA() function and that u can have your own function write to the alpha, but is it possible for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.