Yup exactly guys could any one help me with this.How to go about it.
Well this doesn't exactly help because the program does not continue printing numbers and it waits for a user input after each number is printed.
This is my main program #include<stdio.h> #include<sys/socket.h> #include<sys/types.h> #include<stdlib.h> #include<netdb.h>...
Yes
OK I'm trying to have a simple loop which keeps on printing each number from 1,2,... on a different line and it keeps on doing so until the user...
Ok My bad I'm using c on fedora.Could you please show by an example.Thanks
What does this statement mean in c sum = (sum >> 16) + (sum & 0xffff) Thanks
When i try to compile a program .The compiler throws an error saying no such file libnet.h I'm usin fedora.What could be wrong
Could some one tell me how to use gethostbyname() to convert the string entered by user into corresponding ip.If some one could show it by...
Ok solved now I needed to download the developer library..
Hi could any one guide me on what language or editor to use to make a graphical interface for a c program on linux(fedora).Basically the user can...
Hi I'm using fedora 10.When I try to include pcap.h header file in my program the compiler throws an error saying No such file or directory.Also...
I'm using Linux(fedora)
Does any one know a link for code in c to do a ping sweep in which you could say give the start Ip and end ip on a lan. for e.g START I/P...
Hi I'm trying to make a packet sniffer .I want my program to return packets captured and other details in graphical form how can i go about...
Ok another thing sizeof(char) is 1 so why allocate char[16] if we need 32 bytes and not char[32].
I guess lemme re phrase my question if i need to be proficient in ASP.net what languages do i need to learn.
Ok i get it now but now I, making addr as int but when i take it as input scanf("%d",&addr)..The code compiles but on running no result.But when i...
Thanx for your help.Could you please explain why 16 ? I mean ip requires 32 bytes ?:confused:
Yup ok i get it but why cant i just create a single socket net=socket(AF_INET,SOCK_STREAM,0) AND THE USE THIS SOCKET TO CONNECT TO ANOTHER HOST...
Separate names with a comma.