Sockets

This is a discussion on Sockets within the C Programming forums, part of the General Programming Boards category; I'm doing this assignment and one question is name socket using wildcards. What exactally is this question? I'm sorry if ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    14

    Sockets

    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'.

  2. #2
    WDT
    WDT is offline
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    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
    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

  3. #3
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    ^^ 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
    .sect signature

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    14
    ok thanks.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    14
    I don't suppose anybody had an example or a tutorial on how to use htonl and htons?

  6. #6
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Quote Originally Posted by EvilBaby
    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.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  7. #7
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    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/
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best way to poll sockets?
    By 39ster in forum Networking/Device Communication
    Replies: 3
    Last Post: 07-22-2008, 01:43 PM
  2. Cross platform sockets
    By zacs7 in forum Networking/Device Communication
    Replies: 5
    Last Post: 06-27-2007, 05:16 AM
  3. multiple UDP sockets with select()
    By nkhambal in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-17-2006, 06:36 PM
  4. Raw Sockets and SP2...
    By Devil Panther in forum Networking/Device Communication
    Replies: 11
    Last Post: 08-12-2005, 04:52 AM
  5. Starting window sockets
    By _Cl0wn_ in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2003, 10:49 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21