wsock32 API


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: wsock32 API

  1. #1
    scott gilbert Guest

    wsock32 API


    I am attempting to build an application that accesses the wsock32.dll API,
    but I have been unable to locate any reference sources for the constants
    employed by this API.

    the win32 API is easy enough to find as it comes with the API viewer, but
    I need the values from the wsock32 API, some of which are easy enough to
    figure out (SOCKET_ERROR = -1 is not that hard, just plug in a value that
    should generate a socket error and see how it differs from a valid call)
    but most of them are more difficult and surely there must be a reference
    _somewhere_

    Can anyone help?



  2. #2
    teniviki Guest

    Re: wsock32 API


    You might want to look at ftp://ftp.stardust.com/pub/winsock/version1/dev/
    for the winsock.h, this is where the constants are defined. You can usually
    find the constants in the .h (header) files. Please tell me if that is what
    you were looking for or not.

    "scott gilbert" <scott.gilbert@netregistry.au.com> wrote:
    >
    >I am attempting to build an application that accesses the wsock32.dll API,
    >but I have been unable to locate any reference sources for the constants
    >employed by this API.
    >
    >the win32 API is easy enough to find as it comes with the API viewer, but
    >I need the values from the wsock32 API, some of which are easy enough to
    >figure out (SOCKET_ERROR = -1 is not that hard, just plug in a value that
    >should generate a socket error and see how it differs from a valid call)
    >but most of them are more difficult and surely there must be a reference
    >_somewhere_
    >
    >Can anyone help?
    >
    >



  3. #3
    teniviki Guest

    Re: wsock32 API


    You might want to look at ftp://ftp.stardust.com/pub/winsock/version1/dev/
    for the winsock.h, this is where the constants are defined. You can usually
    find the constants in the .h (header) files. Please tell me if that is what
    you were looking for or not.

    "scott gilbert" <scott.gilbert@netregistry.au.com> wrote:
    >
    >I am attempting to build an application that accesses the wsock32.dll API,
    >but I have been unable to locate any reference sources for the constants
    >employed by this API.
    >
    >the win32 API is easy enough to find as it comes with the API viewer, but
    >I need the values from the wsock32 API, some of which are easy enough to
    >figure out (SOCKET_ERROR = -1 is not that hard, just plug in a value that
    >should generate a socket error and see how it differs from a valid call)
    >but most of them are more difficult and surely there must be a reference
    >_somewhere_
    >
    >Can anyone help?
    >
    >



  4. #4
    Scott Gilbert Guest

    Re: wsock32 API



    That was precisely what I needed, thankyou very much

    "teniviki" <abommarito@paragontech.com> wrote:
    >
    >You might want to look at ftp://ftp.stardust.com/pub/winsock/version1/dev/
    >for the winsock.h, this is where the constants are defined. You can usually
    >find the constants in the .h (header) files. Please tell me if that is what
    >you were looking for or not.
    >
    >"scott gilbert" <scott.gilbert@netregistry.au.com> wrote:
    >>
    >>I am attempting to build an application that accesses the wsock32.dll API,
    >>but I have been unable to locate any reference sources for the constants
    >>employed by this API.
    >>
    >>the win32 API is easy enough to find as it comes with the API viewer, but
    >>I need the values from the wsock32 API, some of which are easy enough to
    >>figure out (SOCKET_ERROR = -1 is not that hard, just plug in a value that
    >>should generate a socket error and see how it differs from a valid call)
    >>but most of them are more difficult and surely there must be a reference
    >>_somewhere_
    >>
    >>Can anyone help?
    >>
    >>

    >



  5. #5
    Scott Gilbert Guest

    Re: wsock32 API



    That was precisely what I needed, thankyou very much

    "teniviki" <abommarito@paragontech.com> wrote:
    >
    >You might want to look at ftp://ftp.stardust.com/pub/winsock/version1/dev/
    >for the winsock.h, this is where the constants are defined. You can usually
    >find the constants in the .h (header) files. Please tell me if that is what
    >you were looking for or not.
    >
    >"scott gilbert" <scott.gilbert@netregistry.au.com> wrote:
    >>
    >>I am attempting to build an application that accesses the wsock32.dll API,
    >>but I have been unable to locate any reference sources for the constants
    >>employed by this API.
    >>
    >>the win32 API is easy enough to find as it comes with the API viewer, but
    >>I need the values from the wsock32 API, some of which are easy enough to
    >>figure out (SOCKET_ERROR = -1 is not that hard, just plug in a value that
    >>should generate a socket error and see how it differs from a valid call)
    >>but most of them are more difficult and surely there must be a reference
    >>_somewhere_
    >>
    >>Can anyone help?
    >>
    >>

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center