- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
I'm Bachaleor Of computer Application (B.C.A) And Gniit 2 years deploma In software engineering Now i want to switch to somthing abstract.Because There is very Rush in Web developement Field. Please tell me what will be best for me Linux red hat certification or switch to "Ethical hacking".I have little … |
|
|
|
I Have an NSButton and Im trying to get it to display the barber stripes sideways when the button is pressed. I can't redraw the NSRect, and was wondering if you had any clues on implementation? |
|
Any code to take 2 ascii chars and put into 1 byte? 0x16 = ? byte |
|
Is it possible to parse an ethernet frame to extract an ssl server certificate to determine the common name issued to?...Im not too familair with ssl records. |
|
Not hot on sed.. I have the string <Report name="05/14/14 05:05:53 AM - Report"> in a file. I need to change the date and time part to the current date and time.. any sed regex to match the date format and timestamp? |
|
I need to create a scenario where all 65535 ports are open. I currently can open 1021 socket desciptors and bind to 1021 ports. If i spawn ~ 70 processes todo the same, i can achieve the goal, but performance is slow. I'm not interested in packet sniffing. How can … |
|
I need help reading my arp replies. When writing requests to the socket, I cant get replies related to what I sent..Ideas #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <netdb.h> #include <sys/socket.h> #include <arpa/inet.h> #include <linux/if_ether.h> #define ETH_HW_ADDR_LEN 6 #define IP_ADDR_LEN 4 #define ARP_FRAME_TYPE 0x0806 #define … |
|
Need help dhcpdiscovery message...using raw sockets..dont want dhcp headers or libraries..do it myself anyway im getting error on sending my packet..any USEFUL help? #include <stdio.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #include <sys/types.h> #include <string.h> #define DHCP_UDP_OVERHEAD (14 + /* Ethernet header */ \ … |
|
trying to send email from nc nc smtp.gmail.com 587 HELO there 250 mx.google.com at your service STARTTLS 220 2.0.0 Ready to start TLS MAIL FROM:<junk@example.com> connection dies.. whats wrong with the protocol im using?? |
|
how do you do unbuffered io in c? I need to write each charachter typed to a socket, not waiting for "\n" newline i.e. enter key any help? |
|
Re:
Hi All, In my script, i am trying to call multiple fork call. if i call less than 10 times, its working fine. If i call more than 20 or 30 times, most of the process getting time out or died foreach my $ttyport (@processTTY) { my $pid = fork();Inline … |
|
Im new to threads, and would like to get experience so I am trying to build a chat server. The idea is to have one thread read from the client socket, while another thread writes to the client socket. (like AIM) I cannot get them to execeute concurrently; Need help, … |
|
I would like to send a dhcp discovery packet progammatically in C. I know C programming, but not network programming. I understand I need to set the dest. ip "255.255.255.255" and src "0.0.0.0". Then send a DHCPDISCOVERY UDP Packet to get a list of available wireless dhcp servers. How can … |
|
Im trying to learn perl socket without the OO approach. My get request isnt working, im not sure why. Take a look? #!/usr/bin/perl use IO; use Socket; socket(SOCKFD,AF_INET,SOCK_STREAM,getprotobyname("tcp")) || die "Socket Error\n"; $host = gethostbyname("www.google.com"); $addr = sockaddr_in(80,$host); connect(SOCKFD,$addr) || die "Connect Error\n"; print SOCKFD "GET /"; while(<SOCKFD>){ print $_; … |
|
Im starting kernel programming and need info on the read and writing function to a /proc file. When a program writes to my /proc module, I need to store the contents. When I read the contents of the /proc file, it only return the most recent entry, and not the … |
|
Im trying to use make to build a driver..I'm new to the makefile protocol and I keep getting this error What does it mean? /lib/modules/3.3.4-5.fc17.x86_64/build: No such file or directory. |
|
Re:
I need to write a script to where the lower half does not execute until the current shell runs an exit or logout command. How can I do this? The script I need this on is below. mount -v --bind /dev $LFS/dev && mount -vt devpts devpts $LFS/dev/pts && mount … |
|
i have a udp server thats going to send and mp3 file. when does the client udp know when the udpserver is done sending? |
|
Im getting double free error's from this? Why? 2d array standard implementation. any clues? int **m = malloc(5 * sizeof(int)); int i,j; for(i = 0; i < 5; i++) m[i] = malloc(5 * sizeof(int)); for(i = 0; i< 5; i++) free(m[i]); free(m); |
|
I need help creating a rule to do the following: Forward my ftp traffic to my virtual machine I have eth0 as the main IP, and virb0 as a bridge to the vm at a private ip. Any idea how to forward ftp traffic to my servers address to the … |
|
What iptables chain would give me drop all request except those from the local subnet so iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT would accept im looking for iptables -A INPUT ! -s 192.168.1.0/24 -j DROP equivalent ?? What Im not looking for is DROP ALL Connections, then Accept localsubnet … |
|
im trying to build my own LL, not seeming to work? My insert method is wrong, and cant fiugre it out, any ideas? public class List { private int size; private Node root; private Node current; public List(){ size = 0; } public void insert(int a){ size++; if(root == null){ … |
|
How would you program if you didnt have any compilers on an OS? |
|
im writing a chat server in c and am need help. my server can write to a socket, the client can read from the socket. How do i have the client write to the socket and have the server read from the client socket? server.c [CODE] #include <stdio.h> #include <unistd.h> … |
|
When my os starts and i log in, the Network Manager displays a list of available networks. How can I code a C program to get a list of avaialble networks. Arp requests? What is the protocol? |
|
Where are the function bodies to functions like socket,bind,accept, etc??... Using the c socket network programming for unix based systems, we use the api, but where are the function bodies to these functions. Im doing network programming, and I fill in the socket functions, bind, accept, write, read, etc, but … |
|
I am new to network programming, and trying to read a response from a servers webpage. I can connect, but cannot get the pages source. Heres what I have [CODE] #include <stdio.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> int main(int argc,char **args){ if(argc < 2){ printf("2 args\n"); return 1; } … |
|
How do strings work? In C we must declare the size of a char array to represent a "string". But in java we do not allocate memory for the size of a string. So how does the string work? Is there a pre deterimed size assigned to strings from the … |
|
How would I hide keystokes when I use the keyboard? When you use scanf fgets and gets, they show they print the keys to the screen.. I want to hide them. |