Todd thanks for the help thus far, I was being a bit of a div and got confused with array size and indexing, but I have sorted that out now.
char servicetype[2];// = 0x0205; //service type in...
Type: Posts; User: chrisjmoss
Todd thanks for the help thus far, I was being a bit of a div and got confused with array size and indexing, but I have sorted that out now.
char servicetype[2];// = 0x0205; //service type in...
char IPcontrol[3]; //four chars for conrtol endpoint IP
char IPdata[3]; //fours chars for data endpoint IP use same IP as control endpoint
char portdata[1]; //set data port to 3671...
Hi Guys
I am trying to send a struct to a UDP socket, but I'm not entirely sure how to cast the structure.
struct CONNECT_REQUEST {
char headersize ;// = 0x06; //static EIB header size...
Hi guys i'm writing a UDP client based on the example given in TCP/IP sockets in C book, but I would like to know how to send a hex string to the socket.
Currently when I write a hex string it is...
Hi guys i'm kind of new to C and am trying to read a text file that has a number stored on each line like below.
17767
9158
39017
18547
Hi I'm new to C and was wondering whether there is a better way to solve my problem than a switch( ) case statment.
I'm trying to decode a byte of data from an ICMP packet, because it's a byte,...