ok, but if I did that, I've got in *t only data from *p and lose data from *m.
int main{
struct data *p=NULL, *m=NULL,*t=NULL;
p = foo();// here i add something to struct struct data
m =...
Type: Posts; User: quantt
ok, but if I did that, I've got in *t only data from *p and lose data from *m.
int main{
struct data *p=NULL, *m=NULL,*t=NULL;
p = foo();// here i add something to struct struct data
m =...
I guess yes, for just one it works well, but I can't add second.
and I add here size for second struct...
p+sizeof(struct data)
g'day,
Could anybody help me with joinning data?
Below what I do....
struct data {
union {
struct {
u_int16_t match_size;
hm, looks interesting things. Add in your filesystem wider stat() information, e.g. file type mp3,mp4,gif,jpeg,html, and so on ;) it would be very useful.
Hm, very interesting.
Its library from wireless_tools project?
I seen libiw in this project and have tried to use iwpriv, but I've got
perhaps is that means, what my wireless adapter firmware...
hi everyone,
I'm seeking a library with wpa implementation, I seen hostapd, but it's so ugly.
I've tried make test_wpa from this project and just spend so much time so as to make it to work. I made...
hi every1,
perhaps some one be able to help me in that worst deal...
actually I use libiptc & libxtables from netfilter project and have got this trace....
it happening every time if I do to call...
I assume what that do haldaemon.
hi every1,
I need a suggestion about rt-application.
if i did it and send data to my socke I've got "Non real time Singal:", why?
actyally i did it in the handler func.
siginfo_t* si;
...
no, I can seeking the buffer and also getting necessary information...
p.len= cb.buf[2];
p.id= cb.buf[1]+2;
p.payload= cb.buf[p.len]+3;
but if i not use in a global sock(handle of socket) I can't...
yes, I don't want to use a loop.
hello every1,
I seed a suggesting related asychron i\o. I'm write a program which use completion ports, but wandor how avoiding loops like for(;;) below...
i.e I want parse proto with count in...
thanks for your reply, but how I can change addres while reading from the dump?
I'm collecting the data to pcap_t and then injecting it and there I'm unsure with 2 and 3 arguments, where I can...
hello, may be someone know, how I can send packets from collected(via tcpdump) those before in pcap-dump to my target ip? I need this for testing my program with specify protocol without real...
hello every1,
I need suggestion about parallel computing in my daemon.
So, I've a daemon which use different sockets, but i need have a new socket bind while other well works. Actually, i stumbled...
right, how make one parent with two child's and telling from one child another child?
for instance, i use it function many times... I can tell parent from child (1), but how I can tell from child with B child A?
int main(void){
launcher("A");
launcher("B");
}
void...
hi, how I can get everyone child pid's the some parent?
ok, I made this two ways. I've not too much data on follow, then I use just variables, instead of shared memory. Could you suggest to me something related architect this code.
...
In another words do full-trip pipe(or something else?) from parent to child(callback) and child to parent and as well as giving information to parent if that really needs? If that exact, then we...
hello every1,
I need suggestion related change routing information from my program with user privileges. How I can change routing tables in my host linux or bsd based from user?
i.e. I launch my...
hi every1,
I use not-blocked tcp socket and i needed help with that..
write(sock, (struct auth*)&autorization, sizeof(struct auth));
r = read(socket_fd, recv, sizeof(recv));
for (i = 0; i <...
Hm, right, i understood that. But when we use fork it's create background process, than pthread don't do it. With in similar of this occurs we can use mix with pthreads and fork, because pthread...
g'day,
I've a question about pthread or fork functions. For example, I've got parent copy my programm which ran from root privileges, than it could be forked or new pthread create with new pid and...
g'day,
I've a question about usage function which can getting zero variable.
For example...
void input(int buf, int type, int class){
if(type!=....){
check(buf);
}
#ifdef CLASS
else{