Search Results

Search: Posts Made By: sonicx
Forum: IP Networking 12-20-2007
4,225
Posted By sonicx
cant access certain pages through iptables fw/router
hey,
i have a problem with my routing setup i cant figure out. there is a unix router using iptables, and behind that a small lan. everything works when requesting directly from the router, but the...
Forum: Programming 12-08-2007
5,930
Posted By sonicx
i forgot to mention: the handlers should be...
i forgot to mention: the handlers should be called when i pthread_cancel the thread running the above while it is waiting for a read().
Forum: Programming 12-08-2007
5,930
Posted By sonicx
pthread_cleanup_push/pop - cleanup handler problem
void cleanUp_delete(void * p)
{
delete p;
p = NULL;
cout << "cleanUp_delete" << endl;
}

void connectionReader(void *thread,void*arg)
{
connection* c = (connection*) arg;...
Forum: Programming 12-08-2007
3,684
Posted By sonicx
that depends on what protocol you use, for one...
that depends on what protocol you use, for one thing. i guess tcp/ip. so if you have a connection loss, ie pull cable and put back in, the connection will remain as long as you dont quit it or some...
Forum: Programming 12-08-2007
8,303
Posted By sonicx
well, to me that sounds all a bit complicated....
well, to me that sounds all a bit complicated. why not accept new connections on one specified port,then if a client wants another connection, it just asks at that same port again. if a connection is...
Forum: IP Networking 12-04-2007
11,666
Posted By sonicx
err, to have a netmask of 255.255.255.0 if you...
err, to have a netmask of 255.255.255.0 if you want a netmask of 255.255.255.255 (single ip) just use
route add 10.10.10.10 gw 11.11.11.11

edit;
another note, to just list routes type only ...
Forum: IP Networking 12-04-2007
11,666
Posted By sonicx
try something like this route add -net...
try something like this
route add -net 1.1.1.0/24 gw 1.1.1.1
Forum: Programming 08-25-2007
4,694
Posted By sonicx
thanks very much for your replies porter. i did...
thanks very much for your replies porter. i did not know about cleanup_push/pop yet, and after reading up a little on the functions i will surely try to integrate them into my source. i found some...
Forum: Programming 08-24-2007
4,694
Posted By sonicx
help me out with my threaded c++ mudbase - c++, pthread_cond_wait
hello,
in my free time i am writing on a c++ mud codebase, a while ago i decided that i would move to pthreads, so i could make use of smp. now i have a problem which i just cant fix - for weeks...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 10:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy