B
Brian Keogh
Hi,
I'm a student learning TCP/IP networking at University. Although I
understand all about TCP/IP Networking in Java I am expected to understand
the basics of C with regard to these programs as all the examples in my
course notes and Exams refer to C. Can someone please point me in the right
direction to where I might find answers on the web explaining C code
involved with TCP/IP networking and what they mean.
These are quite basic I'm sure.
For example, what is the data type of a socket; or what does char*const host
= "mailserver.uni.ac.uk " or const char * host = "mailserver.uni.ac.uk" or
const char* const host = "mailserver.uni.ac.uk" mean.
Another is, explain the action of a complier upon encountering the
declaration #define PI 3.14159 ; or what would happen if we if we changed
the above declaration to const double PI = 3.14159 ?
I'm ashemed so say I've not got around to learning C yet . Hence.
Any of the books I have on C don't give me much to go on with regard to
explaining Networking in C unfortunately.
Your help here is greatly appreciated
Regards
Brian
I'm a student learning TCP/IP networking at University. Although I
understand all about TCP/IP Networking in Java I am expected to understand
the basics of C with regard to these programs as all the examples in my
course notes and Exams refer to C. Can someone please point me in the right
direction to where I might find answers on the web explaining C code
involved with TCP/IP networking and what they mean.
These are quite basic I'm sure.
For example, what is the data type of a socket; or what does char*const host
= "mailserver.uni.ac.uk " or const char * host = "mailserver.uni.ac.uk" or
const char* const host = "mailserver.uni.ac.uk" mean.
Another is, explain the action of a complier upon encountering the
declaration #define PI 3.14159 ; or what would happen if we if we changed
the above declaration to const double PI = 3.14159 ?
I'm ashemed so say I've not got around to learning C yet . Hence.
Any of the books I have on C don't give me much to go on with regard to
explaining Networking in C unfortunately.
Your help here is greatly appreciated
Regards
Brian