Thread: Hi all, I have a small question...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    29

    Cool Hi all, I have a small question...

    Hi all!
    I'm new here
    And i have a small question...
    I want to open new sock (Winsock)
    And then listen to a specific port
    I try a lot, MSDN function and another stuff but allways
    UNsuccesfull :\
    So... Anyone can show me how can i do it?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Here is the quick and dirty primer.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    29

    10x!, but...

    The title is: "BSD Sockets: A Quick And Dirty Primer"
    I think that BSD is kind of LINUX?
    I want to open & listen with Windows socket, Its the same way?

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Conceptually, sockets are sockets. The implementation on Windows, (WinSock now WinSock2), is based on BSD as are the versions on pretty much everything else.

    You should be able to work out what to do from there. If not searching google for +winsock and +tutorial will find dozens of them.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  2. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  3. A small Question
    By CodeJerk in forum C++ Programming
    Replies: 2
    Last Post: 11-20-2002, 09:08 AM
  4. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  5. what does this warningmean???
    By kreyes in forum C Programming
    Replies: 5
    Last Post: 03-04-2002, 07:53 AM