I'm doing this assignment and one question is
name socket using wildcards.
What exactally is this question? I'm sorry if this sounds stupid but I have no idea what is meant by 'wildcards'.
Printable View
I'm doing this assignment and one question is
name socket using wildcards.
What exactally is this question? I'm sorry if this sounds stupid but I have no idea what is meant by 'wildcards'.
By wildcards I'm assuming your tutor probably meant meta-characters e.g. / ?-* the stuff you aren't supposed or allowed to name normal files with
^^ probably not meta characters
i remember something about wildcards in my unix network programming book but i did not finish reading it as i am not elite enough
you should check your unix network programming book
ok thanks.
I don't suppose anybody had an example or a tutorial on how to use htonl and htons?
Beej does. Check the links thread in the networking forum.Quote:
Originally Posted by EvilBaby
If I remember right, wildcards were where you could connect to any port on a given ip and get the same location, or vice a versa. Look into INADDR_NONE.
Here is beej's guide, the best on the internet.
http://www.ecst.csuchico.edu/~beej/guide/net/