Search Results

Search: Posts Made By: !_30
Forum: Programming 01-21-2007
3,333
Posted By !_30
Same problem. Which is the solution ? :D (...
Same problem.

Which is the solution ? :D ( You were talking about ? ).
Forum: Programming 12-30-2006
1,817
Posted By !_30
Send flaged data ..
Hello !

I'm writing a chat program , and I have a curiozity. I'm curently using two ports ( sockets ) for client - server interconections.

One socket is used for ordinary ( normal ) data (...
Forum: Programming 12-29-2006
3,333
Posted By !_30
Connected or not connected !
Hello !

I've got a question . I really don't het this point. Let's supose that I have a client connected to a server.

I want the server IMEDIATLY know if the client is diconnected . How can I...
Forum: Programming 12-15-2006
3,217
Posted By !_30
Oh yes , I figure it out. Thanks again !
Oh yes , I figure it out.

Thanks again !
Forum: Programming 12-15-2006
3,217
Posted By !_30
POSIX threads
Hello !

Let's supose I have a main function in C , and two POSIX threads. I give you an example down :



int main() {
int something;
char else[];
void *FirstThread();
void...
Forum: Programming 11-21-2006
2,610
Posted By !_30
C and hardware !
Hello !

I have a friend , in one day he tell me this : some guy made a cool program in C , for some sort or hardware control . I say : wow !

Maybe someone , can give me an example , how can C...
2,425
Posted By !_30
Something like peer-to-peer
Hey all !

I have a nice question ( maybe simple one ).
I coded a simple server , chat server. I want to implement send files options. But here I come to a nasty thing .. I cannot face out.
...
Forum: Programming 11-19-2006
2,969
Posted By !_30
Oh ya ! True . I have already implemented the...
Oh ya ! True . I have already implemented the idea !

Thanks ! :)
Forum: Programming 11-18-2006
2,969
Posted By !_30
Variables betwen pthreads ?
I have a doubt .. ( maybe I don't know ..)

Let's say , we got the folowing example ( to understand better what I mean ).

We got two POSIX threads ( pthreads ) , one receives some strings and...
Forum: Programming 11-18-2006
13,914
Posted By !_30
If you look closer to you shell , you'll see that...
If you look closer to you shell , you'll see that H ( letter ) is in a white-black background .. It is not blinking altough ..( shell rulezz ..)

If you really want it to blink , you can write ...
Forum: Programming 11-18-2006
13,914
Posted By !_30
SImple dude , when compile , you forget to link (...
SImple dude , when compile , you forget to link ( ncurses library ).

Just compile like this :



cc r3.c -lncurses
Forum: Programming 11-18-2006
13,914
Posted By !_30
#include <ncurses.h> main() { ...
#include <ncurses.h>

main()
{
initscr();
move(5,10);
addstr("this is blink->");
addch('H' | A_BLINK);
refresh();
getch();
endwin();...
Forum: Programming 11-17-2006
3,207
Posted By !_30
Hey dude , I've just compiled your client source...
Hey dude , I've just compiled your client source code , and it's working fine , except .. go and modify this : ( on connect ).



if ( connect(sockfd,(struct sockaddr *)...
Forum: IP Networking 11-17-2006
6,841
Posted By !_30
How to check the conectivity ? You mean , if...
How to check the conectivity ? You mean , if socket client connection goes well or wrong ?



if( connect(listener,(struct sockaddr *) &myaddr, sizeof(myaddr)) < 0)
{
...
Forum: Programming 11-16-2006
2,002
Posted By !_30
new_item ??!!
I have the folowing structure..

struct usr
{
char user[256];
}

struct usr live[50]; /* array of structure */
live[1].user="something";
live[2].user="anithing";
......
Forum: IP Networking 11-16-2006
3,268
Posted By !_30
Tcpdump , ethereal , not worthy ? Multithreaded...
Tcpdump , ethereal , not worthy ? Multithreaded aplication ? :rolleyes:


If you wanna measure/count how many bytes does a client receive ( on the server side ) , you can easily implement a...
Forum: IP Networking 11-16-2006
6,841
Posted By !_30
What do you mean by that ? You can do it (...
What do you mean by that ?

You can do it ( if you want to ) , get Unix Network programming e-book it's cool .. :D
7,508
Posted By !_30
Have you tryied : ps --user <user> ...
Have you tryied :



ps --user <user>



:D
Forum: IP Networking 11-15-2006
6
Dns
2,617
Posted By !_30
Is not really so dificult , you may even have DNS...
Is not really so dificult , you may even have DNS server installed on your server , only have to start the bind daemon. ( use nmap , to see if port 53 for DNS server is open ).

DNS , is not hard...
Forum: IP Networking 11-15-2006
2,841
Posted By !_30
You can simply see if it is going well ( IP...
You can simply see if it is going well ( IP translation ) , using an external web-page to see what IP are you shown . If you are shown the external IP , it work's ...

What do you mean by PAT ,...
Forum: Programming 11-15-2006
2,022
Posted By !_30
I think is some sort of project. Maybe I can...
I think is some sort of project.

Maybe I can give you the idea ( not more than that ).As you already know you have to use POSIX threads , pthreads .

What aplication , is better for you to...
Forum: Programming 11-15-2006
3,448
Posted By !_30
arunkumar_mca . I think your joking him man....
arunkumar_mca . I think your joking him man. Let's say that remote IP address , has a firewall rule ( ACL on a router ) , or something with Iptable on Linux , fw ( on FreeBSD ) , you'll got only :...
Forum: Programming 11-14-2006
4,505
Posted By !_30
Like , it was saied , all you can find it's in ...
Like , it was saied , all you can find it's in man file

You can see there a lot of option's .. No the result is not a string , but I can say to you that is inspired from :
...
Forum: Programming 11-14-2006
4,505
Posted By !_30
Hey dude , You can just use file <file> ...
Hey dude ,

You can just use file <file> command dude .

you can use it from C , with system(" file <file>");

Let's say , you got some files :

ok.c exe ..

you make the code , with...
Forum: Programming 11-14-2006
3,074
Posted By !_30
aliG4 , what do you really want dude ? int...
aliG4 , what do you really want dude ?

int main (int argc, char *argv[])

-this are the parameter's of the main function ( here is a function , which return an integer value ).

argc : is...
Showing results 1 to 25 of 37

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